Skip to content

Remove Customer Team Access

Required scope: customer_access:write

Takes the access given with Set Customer Team Access off a customer or prospect. A team without access returns removed: false, so it is safe to repeat. Access given to members, roles or a team together with a role is not touched.

The API key needs read_write access to the customer and cannot remove a team’s access above its own level.

Generated Reference
POST /public-api/publicapi.v1.Customer/RemoveCustomerTeamAccess

Takes a team's access off one customer or prospect. Removing access the team does not have returns removed false. Same access rules as SetCustomerTeamAccess. Idempotent.

Request RemoveCustomerTeamAccessRequest
Response RemoveCustomerTeamAccessResponse

RemoveCustomerTeamAccessRequest

Field Type Description
customer_id string Customer or prospect to take the team's access off.
team_id string Team from ListTeams.

RemoveCustomerTeamAccessResponse

Field Type Description
removed bool False when the team had no access to remove.
{
"customerId": "be85f4d1-b680-4964-bf62-9828fdf4ce04",
"teamId": "3f1c2b7e-8a44-4d1b-9c55-1e2f3a4b5c6d"
}
{
"removed": true
}