Users

Remove Role from User

DEL
Removes a role from a user.

Path parameters

userIdstringRequired
The user id
actorRoleIdstringRequired
The actor role id

Response

This endpoint returns an object
data
objectOptional

Errors

DEL
$curl -X DELETE https://api.x.flatfile.com/v1/users/%3AuserId/roles/%3AactorRoleId \
> -H "X-Disable-Hooks: true" \
> -H "Authorization: Bearer <token>"
Response
1{
2 "data": {
3 "success": true
4 }
5}