Delete a Feature
Delete a feature by featureId
.
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/features/:featureId
Parameters
Parameter | Description | Type | Required |
---|---|---|---|
featureId | The featureId of the feature to delete. | URL param | yes |
Request
- cURL
- Go
- Java
- Node.js
- Python
- Ruby
- PHP
- CLI
curl "https://api.warrant.dev/v1/features/feature-1" \
-X DELETE \
-H "Authorization: ApiKey YOUR_KEY" \
err := feature.Delete("feature-1")
client.deleteFeature("feature-1");
await warrantClient.Feature.delete("dashboard");
warrant.Feature.delete("feature-1")
Warrant::Feature.delete("feature-1")
Response
200 OK