Skip to main content
DELETE
TypeScript

Path Parameters

webhookCustomHeadersId
string<uuid>
required

The unique identifier of the custom headers set

Example:

"44fcead0-7053-4831-a53a-df7fb90d440f"

Query Parameters

forceDelete
boolean
default:false

Delete the set even while webhooks or OAuth credentials still use it, detaching them instead of refusing. Leave it unset, or false, to get a 409 Conflict whenever anything still uses the set.

Response

The deleted custom headers set, plus the ids of any webhooks and OAuth credentials that were detached from it

The deleted custom headers set, plus the ids of any webhooks and OAuth credentials the delete detached from it. Things are only detached by forceDelete=true; without it a delete is refused with 409 while anything still uses the set.

id
string<uuid>
required

The id of the custom headers set. Pass this as a webhook's, or OAuth credentials', webhookCustomHeadersId to attach it.

Example:

"123e4567-e89b-12d3-a456-426614174000"

name
string
required

The label given to this set.

Example:

"Production gateway key"

headerNames
string[]
required

Names of the headers in the set, lowercased. Header values are never returned.

Example:
createdAt
integer<int64>
required

The date and time the set was created, in milliseconds.

Example:

1625097600000

updatedAt
integer<int64>
required

The date and time the set was last updated, in milliseconds.

Example:

1625097600000

detachedWebhookIds
string<uuid>[]
required

Webhooks whose webhookCustomHeadersId was cleared. The webhooks themselves are not deleted and keep delivering, just without these headers. Empty unless forceDelete=true detached something.

Example:
detachedWebhookOauthIds
string<uuid>[]
required

OAuth credentials whose webhookCustomHeadersId was cleared. The credentials themselves are not deleted; their token requests just no longer carry these headers. Empty unless forceDelete=true detached something.

Example: