Description

Remove a user from a team

Request

HTTP Method: POST

Path Parameter Description
team-id ID of the team
Query Parameter Description
user_id ID 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
}