Roles

List project roles

Lists the roles configured for a project.

get/projects/{project_id}/roles

Path parameters

project_idstring required

The ID of the project to inspect.

Query parameters

limitinteger

A limit on the number of roles to return. Defaults to 1000.

afterstring

Cursor for pagination. Provide the value from the previous response's next field to continue listing roles.

order'asc' | 'desc'

Sort order for the returned roles.

Response

Project roles listed successfully.

object'list' required

Always list.

has_moreboolean required

Whether more roles are available when paginating.

nextstring nullable required

Cursor to fetch the next page of results, or null when there are no additional roles.

Changes

Changed in 4 of the 163 revisions of this API.6

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      endpoint added

      endpoint-added

    This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog