Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Usergroups

List usergroups at account, org or project level

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

querystringOptional

The substring which is used to filter usergroups by their identifier.

pageinteger · min: 1Optional

The page to return.

Default: 1
limitinteger · min: 1 · max: 100Optional

The maximum number of results to return.

Default: 30
Responses
200

OK

application/json
descriptionstringOptional
idintegerOptional
identifierstringOptional
namestringOptional
scopeintegerOptional
get/usergroups
GET /code/api/v1/usergroups?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
[
  {
    "description": "text",
    "id": 1,
    "identifier": "text",
    "name": "text",
    "scope": 1
  }
]

List usergroups scoped to a space

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

querystringOptional

The substring which is used to filter usergroups by their identifier.

pageinteger · min: 1Optional

The page to return.

Default: 1
limitinteger · min: 1 · max: 100Optional

The maximum number of results to return.

Default: 30
Responses
200

OK

application/json
descriptionstringOptional
idintegerOptional
identifierstringOptional
namestringOptional
scopeintegerOptional
get/usergroups/scoped
GET /code/api/v1/usergroups/scoped?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
[
  {
    "description": "text",
    "id": 1,
    "identifier": "text",
    "name": "text",
    "scope": 1
  }
]

Last updated

Was this helpful?