cURL
curl --request DELETE \ --url https://app.d-sports.org/api/admin/teams/{teamId}/members/{userId} \ --header 'Authorization: Bearer <token>'
Removes a member from the team. Cannot remove the last owner. Requires team owner or superadmin.
Clerk session token. Use Authorization: Bearer .
{ success, data: { success } }
Was this page helpful?