Skip to main content
PATCH
/
event-destinations
/
{destination_id}
Update an event destination
curl --request PATCH \
  --url https://api.deck.co/v2/event-destinations/{destination_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "status": "<string>",
  "events": [
    "<string>"
  ]
}
'
{
  "id": "<string>",
  "name": "<string>",
  "status": "<string>",
  "type": "<string>",
  "events": [
    "<string>"
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "object": "<string>",
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Clerk JWT, client credential JWT, or secret key (sk_live_...)

Path Parameters

destination_id
string
required

Body

name
null | string
status
null | string
events
null | string[]

Response

OK

id
string
required
name
string
required
status
string
required
type
string
required
events
string[]
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
object
null | string
request_id
null | string