Endpoint for managing Roles
GET /v1/Roles/{uid} HTTP/1.1 Host: Authorization: YOUR_API_KEY Accept: */*
OK
{ "Created": "2025-05-09T12:22:56.697Z", "LastModified": "2025-05-09T12:22:56.697Z", "CreatedBy": "text", "LastModifiedBy": "text", "Uid": "123e4567-e89b-12d3-a456-426614174000", "Name": "text", "PermissionSetup": { "AssignedPermissions": [ "123e4567-e89b-12d3-a456-426614174000" ] } }
DELETE /v1/Roles/{uid} HTTP/1.1 Host: Authorization: YOUR_API_KEY Accept: */*
No content
GET /v1/Roles HTTP/1.1 Host: Authorization: YOUR_API_KEY Accept: */*
[ { "Created": "2025-05-09T12:22:56.697Z", "LastModified": "2025-05-09T12:22:56.697Z", "CreatedBy": "text", "LastModifiedBy": "text", "Uid": "123e4567-e89b-12d3-a456-426614174000", "Name": "text", "PermissionSetup": { "AssignedPermissions": [ "123e4567-e89b-12d3-a456-426614174000" ] } } ]
POST /v1/Roles HTTP/1.1 Host: Authorization: YOUR_API_KEY Content-Type: application/json-patch+json Accept: */* Content-Length: 143 { "Uid": "123e4567-e89b-12d3-a456-426614174000", "Name": "text", "PermissionSetup": { "AssignedPermissions": [ "123e4567-e89b-12d3-a456-426614174000" ] } }
PUT /v1/Roles HTTP/1.1 Host: Authorization: YOUR_API_KEY Content-Type: application/json-patch+json Accept: */* Content-Length: 143 { "Uid": "123e4567-e89b-12d3-a456-426614174000", "Name": "text", "PermissionSetup": { "AssignedPermissions": [ "123e4567-e89b-12d3-a456-426614174000" ] } }