Custom Roles

List custom roles

Changed on

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

get/teams/{team_id}/list_custom_roles

Request

  • Base URL: https://api.convex.dev/v1
  • URL: https://api.convex.dev/v1/teams/{team_id}/list_custom_roles
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

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

    • warning

      added the new team:domain:create enum value to the ////// response property for the response status

    • warning

      added the new team:domain:delete enum value to the ////// response property for the response status

    • warning

      added the new team:domain:view enum value to the ////// response property for the response status

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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