Delete Role for an Organisation Service
This endpoint facilitates the deletion of a specific role from an organisation service. It ensures effective role management by removing assigned permissions, access levels, and associated responsibilities. The response confirms the deletion status and provides relevant details such as the role name, affected services, and any dependencies that may be impacted.
Syntax: see 'CCall Structure
Type = 'DELETE'
'https://connect.cambrionix.com/api/v1/organizations/organisation-id/services/service-id/roles/role-id' |
Variable | Description |
---|---|
organisation-id | This is the unique id of the organisation as a unique 128-bit number |
service-id | This is the id of the service as a unique 128-bit number |
role-id | This is the id of the role as a unique 128-bit number |
Returns:
{ "result": {} } |
Example
curl -X 'DELETE' \
'https://connect.cambrionix.com/api/v1/organizations/40f5a1a7-3119-4961-8493-866c4053b7eb/services/40f5a1a7-3119-4961-8493-866c4053b7eb/roles/40f5a1a7-3119-4961-8493-866c4053b7eb' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjdmNTITJQinw'
Returns
{
"result": {}
}
Errors
If there is an error in the API method then JSON-RPC Error Object a will be returned