Update an event destination
Updates an event destination’s name, status, or subscribed events. Only the fields you include in the request body are updated.
Authorizations
Secret key (sk_live_...)
Path Parameters
Unique identifier for the event destination (prefixed with evtd_).
Body
Request body for updating an event destination. Only include fields you want to change. To change endpoint configuration or credentials, include the configuration object whose property name matches the destination's existing type.
Updated display name.
Updated status: active or inactive.
Updated list of subscribed event types (for example task_run.completed, credential.verified). Use ["*"] to subscribe to all event types; * cannot be combined with specific types, and the list must not be empty.
Configuration for a webhook destination. Provide this object under the webhook property when type is webhook.
Configuration for a aws_sqs destination. Provide this object under the aws_sqs property when type is aws_sqs.
Configuration for a aws_kinesis destination. Provide this object under the aws_kinesis property when type is aws_kinesis.
Configuration for a aws_s3 destination. Provide this object under the aws_s3 property when type is aws_s3.
Configuration for a aws_eventbridge destination. Provide this object under the aws_eventbridge property when type is aws_eventbridge.
Configuration for a gcp_pubsub destination. Provide this object under the gcp_pubsub property when type is gcp_pubsub.
Configuration for a rabbitmq destination. Provide this object under the rabbitmq property when type is rabbitmq.
Configuration for a azure_servicebus destination. Provide this object under the azure_servicebus property when type is azure_servicebus.
Configuration for a hookdeck destination. Provide this object under the hookdeck property when type is hookdeck.
Response
OK
An event destination object representing an endpoint that receives platform events.
Unique identifier for the event destination, prefixed with evtd_.
Always event_destination.
Display name for the event destination.
Destination status: pending_verification, active, or inactive.
Destination type. The endpoint configuration is returned under a property whose name equals this value (for example, a webhook destination returns a webhook object).
webhook, aws_sqs, aws_kinesis, aws_s3, aws_eventbridge, gcp_pubsub, rabbitmq, azure_servicebus, hookdeck Event types this destination is subscribed to.
ISO 8601 timestamp of when the resource was created.
ISO 8601 timestamp of when the resource was last updated.
Unique identifier for the API request. Include this when contacting support.
Configuration returned for a webhook destination (credentials are never returned).
Configuration returned for a aws_sqs destination (credentials are never returned).
Configuration returned for a aws_kinesis destination (credentials are never returned).
Configuration returned for a aws_s3 destination (credentials are never returned).
Configuration returned for a aws_eventbridge destination (credentials are never returned).
Configuration returned for a gcp_pubsub destination (credentials are never returned).
Configuration returned for a rabbitmq destination (credentials are never returned).
Configuration returned for a azure_servicebus destination (credentials are never returned).
Configuration returned for a hookdeck destination (credentials are never returned).