Skip to main content
PUT
/
api
/
v1
/
config
/
log-scale-actions
/
{slug}
{
  "log_scale_action": {
    "name": "<string>",
    "action_type": "EMAIL",
    "created_at": "2023-11-07T05:31:56Z",
    "email_action": {
      "attach_csv": true,
      "body_template": "<string>",
      "recipients": [
        "<string>"
      ],
      "subject_template": "<string>",
      "use_proxy": true
    },
    "humio_action": {
      "ingest_token": "<string>"
    },
    "ops_genie_action": {
      "api_url": "<string>",
      "ops_genie_key": "<string>",
      "use_proxy": true
    },
    "pager_duty_action": {
      "routing_key": "<string>",
      "severity": "CRITICAL",
      "use_proxy": true
    },
    "repository": "<string>",
    "slack_action": {
      "fields": {},
      "url": "<string>",
      "use_proxy": true
    },
    "slack_post_message_action": {
      "api_token": "<string>",
      "channels": [
        "<string>"
      ],
      "fields": {},
      "use_proxy": true
    },
    "slug": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "upload_file_action": {
      "file_name": "<string>"
    },
    "victor_ops_action": {
      "message_type": "<string>",
      "notify_url": "<string>",
      "use_proxy": true
    },
    "webhook_action": {
      "body_template": "<string>",
      "headers": {},
      "ignore_ssl": true,
      "method": "GET",
      "url": "<string>",
      "use_proxy": true
    }
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Path Parameters

slug
string
required

Body

application/json
create_if_missing
boolean

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

dry_run
boolean

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

log_scale_action
object

The LogScaleAction to update.

Response

A successful response containing the updated LogScaleAction.

log_scale_action
object