Remove Feature from a Tenant
Remove a feature 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/features/:featureId
Parameters
Parameter | Description | Type | Required |
---|---|---|---|
tenantId | The tenantId of the tenant you want to remove the feature from. | URL param | yes |
featureId | The featureId of the feature you want to remove from the tenant. | URL param | yes |
Request
- cURL
- Go
- Java
- Node.js
- Python
- Ruby
- PHP
- CLI
curl "https://api.warrant.dev/v1/tenants/tenant1/features/dashboard" \
-X DELETE \
-H "Authorization: ApiKey YOUR_KEY"
wookie, err := feature.RemoveFeatureFromTenant("dashboard", "tenant1")
client.removeFeatureFromTenant("dashboard", "tenant1");
// Class method
await warrantClient.Feature.removeFeatureFromTenant("tenant1", "dashboard");
// Instance method
const tenant = await warrantClient.Tenant.get("tenant1");
await tenant.removeFeature("dashboard");
# Class method
warrant.Feature.remove_from_tenant("my-tenant", "dashboard")
# Instance method
tenant = warrant.Tenant.get("my-tenant")
tenant.remove_feature("dashboard")
# Class method
Warrant::Feature.remove_from_tenant("tenant1", "dashboard")
# Instance method
tenant = Warrant::Tenant.get("tenant1")
tenant.remove_feature("dashboard")
Response
200 OK