LogoRecal
Rest apiEndpoints

Remove Members

DELETE
/v1/organizations/{orgSlug}/members

Remove users from an organization

AuthorizationBearer <token>

Recal API token

In: header

Path Parameters

orgSlug*string
Match^[a-z0-9][a-z0-9_-]{2,127}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/organizations/recal/members" \  -H "Content-Type: application/json" \  -d '{    "userIds": [      "user_123"    ]  }'
{  "data": "Users removed successfully from {orgSlug}"}