Get a Feature by Id
Get a specific feature by its 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 Get Object endpoint instead.
Endpoint
GET /v1/features/:featureId
Parameters
Parameter | Description | Type | Required |
---|---|---|---|
featureId | Id of the feature to retrieve. | URL param | yes |
Request
- cURL
- Go
- Java
- Node.js
- Python
- Ruby
- PHP
curl "https://api.warrant.dev/v1/features/custom-dashboards" \
-H "Authorization: ApiKey YOUR_KEY"
dashboardFeature, err := feature.Get("custom-dashboards")
Feature dashboardFeature = client.getFeature("custom-dashboards");
const dashboardFeature = await warrantClient.Feature.get("custom-dashboards");
dashboard_feature = warrant.Feature.get("custom-dashboards")
dashboard_feature = Warrant::Feature.get("custom-dashboards")
Response
{
"featureId": "custom-dashboards",
"name": "Custom Dashboards",
"description": "Grants the users of a tenant the ability to create and save custom dashboards"
}