Custom Roles

List custom roles

Lists all custom roles for the team with cursor-based pagination.

get/teams/{team_id}/list_custom_roles

Path parameters

team_idinteger required

Team ID

Query parameters

cursorstring

Cursor for pagination

limitinteger

Max results per page (default: 100, max: 100)

Response

Example response

{
  "items": [
    {
      "statements": [
        {
          "resource": "project:*"
        }
      ]
    }
  ]
}

Changes

Changed in 3 of the 6 revisions of this API.71

    • added the new deployment:aiGateway:use enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new directorySync:deleteGroupMapping enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new directorySync:disable enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new directorySync:enable enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new directorySync:updateGroupMapping enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new directorySync:view enum value to the ////// response property for the response status

      response-property-enum-value-added

    • the endpoint scheme security OAuth Team Token was removed from the API

      api-security-removed

    • added the new deployment:usage:view enum value to the ////// response property for the response status

      response-property-enum-value-added

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