HTTP request
curl \
-X DELETE 'https://api.meilisearch.com/api/v2/teams/12/members/7d2e4f6a-1b3c-4d5e-8f9a-0b1c2d3e4f5a' \
-H 'Authorization: Bearer MANAGEMENT_API_TOKEN'Teams
Remove team member
Removes a member from a team, or cancels a pending invitation. The team owner cannot be removed.
DELETE
/
api
/
v2
/
teams
/
{teamId}
/
members
/
{memberId}
HTTP request
curl \
-X DELETE 'https://api.meilisearch.com/api/v2/teams/12/members/7d2e4f6a-1b3c-4d5e-8f9a-0b1c2d3e4f5a' \
-H 'Authorization: Bearer MANAGEMENT_API_TOKEN'Authorizations
personal_access_tokenoauth2
Send Authorization: Bearer <token>, where <token> is a personal access token (PAT) or an OAuth2 access token. A PAT authenticates as the user who owns it. See Authentication.
Path Parameters
Response
Member removed