Remove a user from a team
delete/api/v1/teams/{teamId}/users/{userId}Remove a specific user from a team by providing the team ID and user ID.
Code snippet
curl -X 'DELETE' \
'https://{yourdomain}/api/v1/teams/{teamId}/users/{userId}' \
-H 'accept: text/plain; x-api-version=1.0' \
-H 'x-api-key: {your API key}' \
-H 'Content-Type: application/json-patch+json; x-api-version=1.0'
Path parameters
| teamIdintRequired | Unique identifier of the team from which the user will be removed. |
| userIdintRequired | Unique identifier of the user to be removed from the team. |
Example response
200 Success
{
"message": "User removed from team successfully."
}