Skip to main content

Removes role from user

DELETE <your-unleash-url>/api/admin/projects/:projectId/users/:userId/roles/:roleId

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
deprecated

This endpoint has been deprecated and may be removed in future versions of the API.

Remove the specified project role from the specified user. This endpoint is deprecated. Use /:projectId/users/:userId/roles instead.

Request

Path Parameters

  • projectId string required
  • userId string required
  • roleId string required
Responses

This response has no body.

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Request

Base URL
<your-unleash-url>
Security Scheme
apiKey
projectId — path required
userId — path required
roleId — path required
curl / cURL
curl -L -X DELETE '<your-unleash-url>/api/admin/projects/:projectId/users/:userId/roles/:roleId' \
-H 'Authorization: <API_KEY_VALUE>'