Zone Roles

List user role assignments

Returns the roles assigned to the specified user within the zone. The full result set is currently returned in a single page; the after/before/limit cursor parameters are reserved and not yet enforced, and pagination cursors are always null.

get/zones/{zoneId}/users/{userId}/roles

Path parameters

zoneIdstring required

Zone ID

userIdstring required

User ID

Query parameters

afterstring

Cursor for forward pagination

beforestring

Cursor for backward pagination

limitinteger

Maximum number of items to return

'total_count'
OR
string[]

Response

Default Response

Changes

Changed in 2 of the 23 revisions of this API.4

    • added the non-success response with the status

      response-non-success-status-added

    • the // response's property pattern ^[a-z0-9]+(?:[-_][a-z0-9]+)*$ was added for the status

      response-property-pattern-added

    • added the required property // to the response with the status

      response-required-property-added

    • endpoint added

      endpoint-added