GET
/
iam
/
organizations
/
v1
curl --request GET \
  --url https://api.mottostreaming.com/iam/organizations/v1 \
  --header 'Authorization: Bearer <token>'
{
  "organizations": [
    {
      "id": "<string>",
      "name": "<string>",
      "disabled": true
    }
  ],
  "next_page_token": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page_size
integer

Maximum number of records to return

page_token
string

If this field is not empty then it must contain the next_page_token value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

Response

200
application/json
OK
organizations
object[]
next_page_token
string

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.