Skip to main content
PUT
/
v3
/
feature-configurations
/
{feature_configuration_id}
Update an existing feature configuration
curl --request PUT \
  --url https://api.ctrl-hub.com/v3/feature-configurations/{feature_configuration_id} \
  --header 'Content-Type: application/vnd.api+json' \
  --header 'X-Session-Token: <api-key>' \
  --data '
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "<string>",
    "attributes": {
      "domain": "<string>",
      "component": "<string>",
      "enabled": true
    }
  }
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "<string>",
    "attributes": {
      "domain": "<string>",
      "component": "<string>",
      "enabled": true
    },
    "meta": {
      "name": "<string>"
    },
    "relationships": {
      "organisation": {
        "data": {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "type": "<string>"
        }
      }
    }
  },
  "jsonapi": {
    "version": "<string>"
  }
}

Authorizations

X-Session-Token
string
header
required

Session token for authentication.

Path Parameters

feature_configuration_id
string<uuid>
required

The unique identifier for the feature configuration.

Body

application/vnd.api+json

The feature configuration to update.

data
object
required

Response

Get a feature configuration.

JSON API response object

data
object
required

A feature configuration

jsonapi
object
required