Delete a role the organization added
DELETE /api/organizations/roles/{key}. Delete a role the organization added. Headless LMS Roles API reference.
Requires roles:delete. Refused while anyone holds it (409, with the count).
Path Parameters
key*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/organizations/roles/string"null{ "error": "string", "message": "string", "requestId": "string", "issues": [ { "path": "string", "message": "string" } ]}{ "error": "string", "message": "string", "requestId": "string"}{ "error": "string", "message": "string", "requestId": "string"}{ "error": "string", "message": "string", "requestId": "string"}{ "error": "string", "message": "string", "requestId": "string"}{ "error": "string", "message": "string", "requestId": "string"}Rename or change a role PATCH
PATCH /api/organizations/roles/{key}. Rename or change a role. Headless LMS Roles API reference.
Reset a role to the deployment's version DELETE
DELETE /api/organizations/roles/{key}/customization. Reset a role to the deployment's version. Headless LMS Roles API reference.