Herald
OpenapiUsers

Remove direct permission from user

Removes a directly assigned permission from a user.

DELETE
/api/users/{userId}/permissions

Removes a directly assigned permission from a user.

Path Parameters

userId*string

User ID

Formatuuid

Request Body

application/json
  1. body
action*string
resource*string

Response Body

Permission removed

Example Request
curl -X DELETE 'https://example.com/api/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/permissions' \
  -H 'Content-Type: application/json' \
  -d '{
  "action": "string",
  "resource": "string"
}'
Example Response
Empty