Skip to main content
PUT
/
api
/
v1
/
config
/
external-connections
/
{slug}
cURL
curl --request PUT \
  --url https://{tenant}.chronosphere.io/api/v1/config/external-connections/{slug} \
  --header 'API-Token: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "external_connection": {
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "ops_genie": {
      "api_key": "<string>",
      "api_url": "<string>",
      "http_config": {
        "basic_auth": {
          "password": "<string>",
          "username": "<string>"
        },
        "bearer_token": "<string>",
        "tls_config": {
          "insecure_skip_verify": true
        }
      }
    },
    "pagerduty": {
      "events": {
        "api_key": "<string>",
        "version": "PAGERDUTY_EVENTS_VERSION_V1"
      },
      "rest": {
        "api_key": "<string>"
      }
    },
    "slack": {
      "api_url": "<string>",
      "token": "<string>"
    },
    "slug": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "victor_ops": {
      "api_key": "<string>",
      "api_url": "<string>"
    },
    "webhook": {
      "http_config": {
        "basic_auth": {
          "password": "<string>",
          "username": "<string>"
        },
        "bearer_token": "<string>",
        "tls_config": {
          "insecure_skip_verify": true
        }
      },
      "url": "<string>"
    }
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Path Parameters

slug
string
required

Body

application/json
create_if_missing
boolean

If true, the ExternalConnection will be created if it does not already exist, identified by slug. If false, an error will be returned if the ExternalConnection does not already exist.

dry_run
boolean

If true, validates the specified configuration without creating or updating the ExternalConnection. If the specified configuration is valid, the endpoint returns a partial response without the ExternalConnection. If the specified configuration is invalid, the endpoint returns an error.

external_connection
object

The ExternalConnection to update.

Response

A successful response containing the updated ExternalConnection.

external_connection
object