DocumentationAPI ReferenceChangelog

Envocal API

API Reference API Changelog

Endpoints

List members of a tenant GETChange a member's role PATCHRemove a member DELETEList pending invitations GETInvite a user POSTResend an invitation POSTWithdraw an invitation DELETE
Members & invites

Remove a member

Change a member's role PATCH

Requires members:write

List pending invitations GET

Invitations that have not been accepted yet, sorted by email. Expired ones are included; check expiresUtc.

DELETE
/v1/tenants/{tenantId}/members/{userId}

Removes the user's membership of this tenant. The user account itself is not deleted.

Required permission: members:write

Authorization

Bearer
headerAuthorizationBearer <token>

Tenant API key (evk_…), created in Studio → Vault → API keys.

Path Parameters

tenantId*string

Tenant id, or current for the key's own tenant. Must be the key's tenant or one of its sub-tenants.

userId*string

User id of the member.

Response Body

Removed.

Example Request
curl -X DELETE 'https://api.envocal.ai/v1/tenants/string/members/string'
Example Response
Empty
Example Request
curl -X DELETE 'https://api.envocal.ai/v1/tenants/string/members/string'