Teams

Remove a team member

DELETE/api/teams/{teamId}/users/{userId}

Removes a user's membership from the specified team, subject to team role and ownership restrictions.

Headers

NameTypeDescription
AuthorizationrequiredstringAuthentication credentials, e.g. Bearer <token>.

Path parameters

NameTypeDescription
teamIdrequiredstringID of the associated team.
userIdrequiredstringID of the associated user.

Responses

200The operation completed successfully.
NameTypeDescription
okrequiredanyWhether the operation succeeded.
200 example
400Bad request.
NameTypeDescription
errorrequiredobjectError details returned when the operation fails.
400 example
401Unauthorized.
NameTypeDescription
errorrequiredobjectError details returned when the operation fails.
401 example

Code samples

cURL