Skip to main content

Remove member

Description

Remove a user from a team

Request

HTTP Method: POST

Path ParameterDescription
team-idID of the team
Query ParameterDescription
user_idID of the user
curl -X POST \
https://<tenant-domain>/api/v1/teams/<team-id>/remove_member \
-H 'content-type: application/json' \
-H 'x-user-email: <email-address>' \
-H 'x-user-token: <api-token>'
-d '{
"user_id": 2
}'

Response

A successful request will return a 200 response

Sample response

{
"deleted_id": 2
}