Assignments
removeAssignment
Remove role assignment from user
delete/v1/permissions/assignments/{userId}/{roleId}
Request
- Base URLhttps://permissions.sls.epilot.io
- URLhttps://permissions.sls.epilot.io/v1/permissions/assignments/{userId}/{roleId}
- Auth
- HTTP bearer
- or API key in header x-epilot-org-id
Path parameters
userIdstring required
Id of a user
Example:1
roleIdstring required
Format: <organization_id>:<slug>
Example:123:owner
Response
ok
Example response
{
"user_id": "1",
"roles": [
"123:owner"
]
}Changes
No recorded changes to this operation across all 4 revisions of this API.