Sazabi
APITeams

Remove a team member

DELETE
/teams/{teamId}/members/{userId}

Remove a member from a team.

Path Parameters

teamId*string

Team to remove the member from.

Formatuuid
userId*string

User ID of the member to remove.

Length1 <= length

Query Parameters

organizationId?string

Organization to operate on. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).

Length1 <= length

Response Body

application/json

curl -X DELETE "https://example.com/teams/497f6eca-6276-4993-bfeb-53cbbbba6f08/members/string"
{  "success": true}