Project user role assignments

List project user role assignments

Lists the project roles assigned to a user within a project.

get/projects/{project_id}/users/{user_id}/roles

Path parameters

project_idstring required

The ID of the project to inspect.

user_idstring required

The ID of the user to inspect.

Query parameters

limitinteger

A limit on the number of project role assignments to return.

afterstring

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

order'asc' | 'desc'

Sort order for the returned project roles.

Response

Project user role assignments listed successfully.

object'list' required

Always list.

has_moreboolean required

Whether additional assignments are available when paginating.

nextstring nullable required

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

Changes

Changed in 5 of the 163 revisions of this API.17

    • ○

      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

    • ▲

      the /// response's property format changed from int64 to unixtime for status

      response-property-type-changed

    • ○

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

      response-required-property-added

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

    • ○

      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