Skip to main content

Remove User from a Tenant

Remove a user from a tenant.

caution

This endpoint has been deprecated and will be phased out at the end of 2023. Please update any existing usages of it to use the Delete Warrant endpoint instead.

Endpoint

DELETE /v1/tenants/:tenantId/users/:userId

Parameters

ParameterDescriptionTypeRequired
tenantIdThe tenantId of the tenant you want to remove the user from.URL paramyes
userIdThe userId of the user you want to remove from the tenant.URL paramyes

Request

curl "https://api.warrant.dev/v1/tenants/tenant1/users/user1" \
-X DELETE \
-H "Authorization: ApiKey YOUR_KEY"

Response

200 OK