v1

latestOpenAPI 3.1.02026-08-063776831.4 MB
Role

Get Role by ID

Retrieves a specific role by its ID

get/roles/{roleId}

Path parameters

roleIdstring required

ID of Role to fetch

Headers

tenant-idstring

Response

Role retrieved successfully

idstring

Role ID

namestring

Role name

tenantIdstring

Tenant ID

descriptionstring

Role description

createdAtstring date-time
updatedAtstring date-time
createdBystring

Created by

updatedBystring

Updated by

Example response

{
  "id": "role-123-456-789",
  "name": "Business Admin",
  "tenantId": "tenant-123-456-789",
  "description": "Full access to all operations",
  "createdAt": "2022-03-10T12:15:50-04:00",
  "updatedAt": "2022-03-10T12:15:50-04:00",
  "createdBy": "user-123-456-789",
  "updatedBy": "user-123-456-789"
}