Skip to content

Remove members

Request

Remove agents/admins from a team.

Security
ApiKeyAuth
Path
teamIdstring, (uuid)required

The team id

Bodyapplication/jsonrequired

List of agent/admin ids to remove from the specified team

agentIdsArray of strings, (uuid)
DELETE
/v1/teams/{teamId}/agents
curl -i -X DELETE \
  'https://dev.dixa.io/v1/teams/{teamId}/agents' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "agentIds": [
      "a8080cf3-9d55-41dd-a8ef-b02414399e7a",
      "d53dbec1-e79c-4736-b9a1-15f6dce71ed4"
    ]
  }'

Responses

The agents/admins were successfully removed from the team

Response
No content