Teams

Remove a user from a team

The user making this call must be a member of the team in order to remove themselves or others.

post/teams/{team_gid}/removeUser

Request

  • Base URL: https://app.asana.com/api/1.0
  • URL: https://app.asana.com/api/1.0/teams/{team_gid}/removeUser
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.asana.com/-/oauth_authorize, token URL https://app.asana.com/-/oauth_token)

Request body

Example request

{
  "data": {
    "user": "12345"
  }
}

Response

Returns an empty data record

dataEmptyResponse

An empty object. Some endpoints do not return an object on success. The success is conveyed through a 2-- status code and returning an empty object.

Changes

No recorded changes to this operation across all 2 revisions of this API.