Changed1
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Update Feature Flag
DescriptionUpdates a specific feature flag to either enable or disable it.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/featureFlags/{urn}
Path Parameters
Path Parameters
string
urn
Required
URN containing the name of the feature flag such as (urn:vcloud:featureflag:
Request Body
Request Body
FeatureFlag
of type(s) application/json
Required
{
"displayDescription": "string",
"displayName": "string",
"enabled": false,
"id": "string",
"name": "string",
"usage": "string"
}
string
displayDescription
Optional
Localized readable description of this feature.
string
displayName
Optional
Localized readable name of this feature.
boolean
enabled
Optional
True if the feature is toggled on.
string
id
Optional
The id of the feature flag in URN format.
string
name
Optional
The unique name of the flag.
string
usage
Optional
In what context this flag should be use.
-
ALPHA
Indicates that this feature is considered to be an alpha feature and may change in future releases.
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
FeatureFlag
of type(s) application/json;version=37.0
{
"displayDescription": "string",
"displayName": "string",
"enabled": false,
"id": "string",
"name": "string",
"usage": "string"
}
string
displayDescription
Optional
Localized readable description of this feature.
string
displayName
Optional
Localized readable name of this feature.
boolean
enabled
Optional
True if the feature is toggled on.
string
id
Optional
The id of the feature flag in URN format.
string
name
Optional
The unique name of the flag.
string
usage
Optional
In what context this flag should be use.
-
ALPHA
Indicates that this feature is considered to be an alpha feature and may change in future releases.
Errors
Error
400
Invalid configuration.
Error
404
The specified resource was not found
Code Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"displayDescription":"string","displayName":"string","enabled":false,"id":"string","name":"string","usage":"string"}' https://{api_host}/cloudapi/1.0.0/featureFlags/{urn}
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
What's changed in v37.0?
INTRODUCED
Availability
Added in 36.1
On This Page
Feature Flag Operations
get
Get Feature Flag
Introduced
put
Update Feature Flag
Introduced