Skip to main content
POST
/
configuration
/
apply
Applies a configuration object
curl --request POST \
  --url https://api.inorbit.ai/configuration/apply \
  --header 'Content-Type: application/json' \
  --header 'x-auth-inorbit-app-key: <api-key>' \
  --data '
{
  "metadata": {
    "id": "<string>",
    "scope": "tag/prod"
  },
  "spec": {
    "statusId": "<string>",
    "label": "<string>",
    "warning": {
      "notificationChannels": [
        "<string>"
      ],
      "autoActions": [
        "<string>"
      ],
      "manualActions": [
        "<string>"
      ]
    },
    "error": {
      "notificationChannels": [
        "<string>"
      ],
      "autoActions": [
        "<string>"
      ],
      "manualActions": [
        "<string>"
      ]
    },
    "labelTemplate": "<string>"
  }
}
'
{
  "error": "<string>"
}

Authorizations

x-auth-inorbit-app-key
string
header
required

InOrbit appKey authenticates API requests using a token.

You can obtain your appKey in the Authentication docs.

Body

application/json

Applies a configuration object

kind
enum<string>
required

Configuration object kind

Available options:
IncidentDefinition
apiVersion
enum<string>
required

Configuration object API version

Available options:
v0.1
metadata
object
required
spec
object
required

Response

Configuration applied successfully