Remove member

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://<<META.tenant.domain>>/api/v1/teams/<<team_id>>/remove_member \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>'
  -d '{
        "user_id": 2
      }'

Response

A successful request will return a 200 response

Sample response

{
  "deleted_id": 2
}
Was this helpful?