Skip to main content
PATCH
Rename a destination or replace its URL (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"

Response

200

The destination