Agents

Remove Role from Agent

DEL
Removes a role from an agent.

Path parameters

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