v1Resources/Team/postRevoke a team member's access

Revoke a team member's access

Removes a team member who has already accepted their invitation. The agency owner can't be revoked, and a member who hasn't accepted their invitation yet should be removed with DELETE /api/v1/team/members instead.

post/api/v1/team/members/revoke
team:write
Request body
memberIdstringrequired
ID of the team member.
Response
dataobjectoptional
revokedbooleanoptional
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
409The request conflicts with the current state of the resource — for example, changing the email or phone of a recipient who has already been messaged, or a team invite that was already accepted (or hasn't been accepted yet).
429Too many requests. Retry after the number of seconds in the Retry-After header.
post/api/v1/team/members/revoke
Your API key
Request body*
{}