Remove Squad Member

DELETE https://api.squadcast.com/v4/squads/:squadID/members/:memberID?replaceWith=

This endpoint is used to update squad member's role.

If you're attempting to remove a member whose role is 'owner', and that 'owner' is the last squad owner, then the 'replaceWith' query parameter is required. Setting 'replaceWith' to 'member' will promote another member as the owner, and the specified member will be removed.

Requires access_token as a Bearer {{token}} in the Authorization header with squad-create scope.

Request Params

KeyDatatypeRequiredDescription
replaceWithnull

RESPONSES

status: Created

{"data":{"id":"6634addd8b38216aff48d0ed","members":[{"user_id":"607574e3d8aa170007090fb5","role":"owner"}]}}