Guests

Remove Role from Guest

DEL
Removes a role from a guest.

Path parameters

guestIdstringRequired
The guest 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/guests/%3AguestId/roles/%3AactorRoleId \
> -H "X-Disable-Hooks: true" \
> -H "Authorization: Bearer <token>"
Response
1{
2 "data": {
3 "success": true
4 }
5}