Update Feature Flag
Update a feature flag.
The name of the feature flag
Feature flag object that needs to be updated
{
"enabled": false,
"custom_error_message": "string"
}
Whether the feature flag is enabled
The error string returned by the API when a client performs an action disabled by the feature flag
Successfully updated feature flag
{
"name": "string",
"enabled": false,
"updated_at": "string",
"custom_error_message": "string",
"links": {
"self": {
"href": "string",
"method": "string"
}
}
}
The name of the feature flag
Whether the feature flag is enabled
The time the feature flag was last updated; this will be blank for feature flags that have not been configured
The error string returned by the API when a client performs an action disabled by the feature flag
links
Bad Request
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Unauthorized
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Forbidden
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Not Found
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Conflict
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Unprocessable Entity
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Internal Server Error
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Service Unavailable
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}'