latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-189455174.2 KB

addaba6fddad

Organization
Role

Get organization role

Returns the given organization by its ID.

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

Response

OK

idstring required

Unique identifier of the role.

namestring required

Name of the role.

descriptionstring nullable

Description of the role.

member_countinteger nullable

Number of users assigned to the role when projected.

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.",
  "member_count": 4,
  "permissions": [
    "9bsv0s46s6s002p9ltq0"
  ]
}