GET
/
v1
/
instances
/
{instance}
/
roles
{
  "roles": [
    {
      "name": "<string>",
      "connectionLimit": 123,
      "validUntil": "<string>",
      "attribute": "<string>"
    }
  ],
  "nextPageToken": "<string>"
}

Path Parameters

instance
string
required

The instance id.

Query Parameters

pageSize
integer

Not used. The maximum number of roles to return. The service may return fewer than this value. If unspecified, at most 10 roles will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

pageToken
string

Not used. A page token, received from a previous ListInstanceRoles call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListInstanceRoles must match the call that provided the page token.

refresh
boolean

Refresh will refresh and return the latest data.

Response

OK

roles
object[]

The roles from the specified request.

nextPageToken
string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.