Update Destination
Updates an existing destination configuration.
/destinations/{destinationId}This endpoint updates an existing event destination's configuration. You can modify the destination name, URL, subscribed event types, description, or status.
You can use this endpoint to enable or disable a destination (status) without deleting it. This is useful when you need to pause event delivery to a destination during maintenance or troubleshooting.
- Call this endpoint with the destination's ID and the properties you want to update.
- Stedi updates the destination.
- The endpoint returns the updated configuration.
A Stedi API Key for authentication. Supports both test and production API keys.
Path Parameters
^[a-z]{3,5}_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$The unique identifier for the destination. You can retrieve destination IDs with the List Destinations endpoint.
Headers
A unique string to identify this request to the server. If not set, Stedi generates one automatically.
The key can be up to 255 characters. You can safely retry requests with the same idempotency key within 24 hours of making the first request. This prevents duplicate operations due to network errors or other intermittent failures. Learn more.
Body
Maximum concurrent deliveries for this destination. If not set, Stedi applies your account default (typically 5). Stedi rejects requests exceeding your account maximum (typically 20) with a 400 error. Contact Stedi to change your limits.
A description of the destination's purpose, such as "Receives transaction enrollment task notifications."
^https://.+$The URL where you want Stedi to deliver payloads through HTTP POST.
The event types you want Stedi to send to this destination. Visit event types for a complete list.
A human-readable name for the destination. Stedi displays this name in the portal.
The destination's status. Set to ENABLED to receive event deliveries or DISABLED to pause them.
ENABLEDDISABLEDResponse
The maximum number of concurrent deliveries for this destination. Contact Stedi to change your account limits.
Creation timestamp for this destination.
A description of the destination's purpose, such as "Receives transaction enrollment task notifications."
^https://.+$The URL where Stedi delivers payloads through HTTP POST.
The event types Stedi sends to this destination. Visit event types for a complete list.
^[a-z]{3,5}_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$The unique identifier for the destination.
The timestamp for Stedi's most recent delivery attempt to this destination. Absent when Stedi hasn't yet attempted a delivery.
A human-readable name for the destination. Stedi displays this name in the portal.
The destination's current status. Stedi only sends event payloads to ENABLED destinations.
ENABLEDDISABLEDLast update timestamp for this destination.
curl --request POST \ --url "https://events.us.stedi.com/2026-02-01/destinations/{destinationId}" \ --header "Idempotency-Key: b2c3d4e5-f6a7-8901-bcde-f12345678901" \ --header "Authorization: <api_key>" \ --header "Content-Type: application/json" \ --data '{ "name": "Updated Destination Name", "status": "DISABLED" }'{
"createdAt": "2026-02-01T12:00:00Z",
"description": "",
"destinationUrl": "https://example.com/webhooks",
"eventTypes": [
"enrollment.activated"
],
"id": "dst_550e8400-e29b-41d4-a716-446655440000",
"name": "Updated Destination Name",
"status": "DISABLED",
"updatedAt": "2026-02-02T08:30:00Z"
}