v1

latestOpenAPI 3.0.32026-07-17542197.8 KB
Organization
Role

Get organization roles

Return the roles that are assigned to the organization.

get/v1/organizations/${id}/roles

Query parameters

offsetinteger

Number of resources to skip.

limitinteger

Number of resources to return.

Response

OK

idstring required

Unique identifier of the role.

namestring required

Name of the role.

descriptionstring nullable

Description of the role.

membersstring[] required

IDs of the users assigned to the role.

permissionsstring[] required

IDs of the permissions assigned to the role.

created_atstring date-time required

Date when the organization was created.

updated_atstring date-time nullable required

Date when the organization was updated.

Example response

[
  {
    "id": "9bsv0s46s6s002p9ltq0",
    "name": "Collaborators",
    "description": "Users who can collaborate on the project.",
    "members": [
      "9bsv0s46s6s002p9ltq0"
    ],
    "permissions": [
      "9bsv0s46s6s002p9ltq0"
    ]
  }
]