Request
PUT /v1/subscriptions/:id
Headers
Path parameters
string
required
The subscription ID to update. Always starts with
sub_.Body
object
required
Replacement webhook delivery target.
string[]
required
Replacement list of event kinds to receive. Must be non-empty.
string
required
"enabled" or "disabled".string
required
Human-readable label. Pass an empty string to clear it.
Example request
Response
200 OK
Returns the updated subscription resource. The destination.secret field is not present in the response. The filters.addresses array will be empty in the response body (address filters are unaffected by this call — use GET /v1/subscriptions/:id to see current filters).
Response fields
string
required
Unique subscription identifier, prefixed with
sub_.object
required
Updated delivery target.
destination.secret is not included.string[]
required
The updated list of event kinds.
object
required
Contains an empty
addresses array. Your existing address filters remain in place — this endpoint does not modify them.string
required
Updated status:
"enabled" or "disabled".string
required
Updated human-readable label.
string
required
ISO 8601 creation timestamp. Unchanged by updates.
string
required
ISO 8601 timestamp of this update.