Skip to main content
PATCH
Rename a destination, or replace its URL or PagerDuty routing key (owners, admins)

Authorizations

apsio_session
string
cookie
required

The console session, set by /v1/auth/callback (__Host-apsio_session when host-only).

Path Parameters

orgId
string
required
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Example:

"0192f3a4-0000-7000-8000-00000000a001"

destinationId
string
required
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Example:

"0192f3a4-0000-7000-8000-00000000a001"

Body

application/json
name
string
Required string length: 1 - 100
url
string

https only. Slack: an incoming webhook URL (https://hooks.slack.com/services/...). Checked when saved (it must resolve to public addresses only) and before every delivery. Never returned.

Required string length: 1 - 2048
Example:

"https://alerts.example.com/apsio"

routing_key
string

PagerDuty: the Integration Key of an Events API v2 integration on the service (32 letters and digits). Encrypted when saved and never returned.

Pattern: ^[A-Za-z0-9]{32}$
Example:

"R0123456789abcdefABCDEF012345678"

region
enum<string>

PagerDuty: the service region's Events API, events.pagerduty.com (us, the default) or events.eu.pagerduty.com (eu).

Available options:
us,
eu

Response

200

The destination