Delete Editorial Role
delete
/content/management/api/v1.1/editorialRoles/{roleId}
Delete a custom editorial role.
Request
Path Parameters
-
roleId: string
id of the custom editorial role.
Header Parameters
-
X-Requested-With: string
A custom header to mitigate CSRF attacks.Allowed Values:
[ "XMLHttpRequest" ]
Response
204 Response
No content.
400 Response
Bad request.
403 Response
Forbidden.
404 Response
Not found.
500 Response
Internal server error.
Examples
The following example shows how to delete a custom editorial role by submitting a DELETE request using cURL.
curl -X DELETE -H 'X-Requested-With: XMLHttpRequest' 'https://host:port/content/management/api/v1.1/editorialRoles/{roleId}'
Example
/content/management/api/v1.1/editorialRoles/D2434092E77D436D96E468C343249B1D
Delete a custom editorial role with id D2434092E77D436D96E468C343249B1D.
Request Headers
{ "X-Requested-With": "XMLHttpRequest" }