Skip to main content
PUT
Update destination
Requires the Alerts Admin role. Send only the fields you want to change. An empty displayName or config keeps the current value. Omit credentialId to keep the current credential. An empty credentialId fails with INVALID_ARGUMENT. The channel of a destination can’t change. To switch channels, create a new destination and delete the old one.
Example request

인증

Authorization
string
header
기본값:Bearer [API-ACCESS-TOKEN]
필수

CoreWeave API access token sent as a bearer token.

경로 매개변수

id
string
필수

본문

application/json
id
string
필수

The ID of the destination to update.

displayName
string

A new display name, up to 255 characters. Empty keeps the current name.

credentialId
string

The ID of a replacement credential. Omit it to keep the current credential.

config
string

Replacement channel configuration as a JSON-encoded string. Empty keeps the current config.

응답

OK

destination
object

A place CoreWeave Alerts delivers to.