Skip to content

Delete a secret variable. 409 if a stored template still references it.

DELETE
/webhook-endpoints/{id}/secrets/{name}
id
required
string

Webhook endpoint ID

name
required
string

Secret variable name (template identifier)

object
secrets
required

Configured secret variables (names + setAt timestamps only; no values).

Array<object>
object
name
required

The secret variable name (a template identifier; referenced as {{ secrets. }}).

string
setAt
required

ISO-8601 timestamp of when this secret was last set or rotated.

string

Endpoint or secret not found

Secret is still referenced by the endpoint payload template