v1

latestOpenAPI 3.0.22026-07-144652931.4 MB
Services

Update an Enablement for a Service

Update the feature enablement setting for a specific product addon on a service. This setting controls enabling or disabling the set of features contained within the addon. Currently, only aiops is supported as a valid feature enablement.

Warning conditions:

  • If the account is not entitled to use AIOps features, the setting will be updated, but a warning will be returned.

Scoped OAuth requires: services.write

put/services/{id}/enablements/{feature_name}

Path parameters

idstring required

The ID of the resource.

feature_name'aiops' required

The feature enablement identifier, typically the name of the product addon. Currently only aiops is supported.

Headers

Acceptstring required

The Accept header is used as a versioning header.

Content-Type'application/json' required

Request body

Example request

{
  "enablement": {
    "feature": "aiops"
  }
}

Response

The feature enablement setting was updated.

Example response

{
  "enablement": {
    "feature": "aiops"
  }
}