团队

移除团队成员

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

根据团队角色和所有权限制,移除用户在指定团队中的成员身份。

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