Delete a Tenant
Delete a tenant by tenantId
.
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 Object endpoint instead.
Endpoint
DELETE /v1/tenants/:tenantId
Parameters
Parameter | Description | Type | Required |
---|---|---|---|
tenantId | The tenantId of the tenant to delete. | URL param | yes |
Request
- cURL
- Go
- Java
- Node.js
- Python
- Ruby
- PHP
- CLI
curl "https://api.warrant.dev/v1/tenants/d6ed6474-784e-407e-a1ea-42a91d4c52b9" \
-X DELETE \
-H "Authorization: ApiKey YOUR_KEY" \
err := tenant.Delete("d6ed6474-784e-407e-a1ea-42a91d4c52b9")
client.deleteTenant("d6ed6474-784e-407e-a1ea-42a91d4c52b9");
await warrantClient.Tenant.delete("d6ed6474-784e-407e-a1ea-42a91d4c52b9");
warrant.Tenant.delete("d6ed6474-784e-407e-a1ea-42a91d4c52b9")
Warrant::Tenant.delete("d6ed6474-784e-407e-a1ea-42a91d4c52b9")
$warrant.deleteTenant("d6ed6474-784e-407e-a1ea-42a91d4c52b9");
warrant delete tenant d6ed6474-784e-407e-a1ea-42a91d4c52b9
Response
200 OK