headless lms

Delete a role the organization added

DELETE /api/organizations/roles/{key}. Delete a role the organization added. Headless LMS Roles API reference.

DELETE
/api/organizations/roles/{key}

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"}