Skip to main content

Delete a custom role

DELETE 

<your-unleash-url>/api/admin/roles/:roleId

Delete a custom role by id. You cannot delete built-in roles or roles that are in use.

Request

Responses

This response has no body.

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L -X DELETE '<your-unleash-url>/api/admin/roles/:roleId' \
-H 'Authorization: <API_KEY_VALUE>'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!