Update a custom headers set
Updates only the fields present in the request; anything omitted is left as it is. headers is merged name by name rather than replaced: a header sent with a value is added or overwritten, a header sent as null is deleted, and a header you omit is left alone. The change applies to every webhook and OAuth credential set that uses the set.
A change that would leave the set with no headers is refused with a 400 — delete the set instead. Where Fireblocks sends its own Authorization header, a custom Authorization header is not sent: on a webhook that has OAuth credentials attached (the OAuth bearer token), and on the token request of OAuth credentials that use client_secret_basic.
Endpoint Permissions: Owner, Admin, Non-Signing Admin.
Path Parameters
Body
A partial update. Every field is optional and an omitted field is left as it is. A change to headers applies to every webhook and OAuth credential set using the set.
A delta applied to the headers. A header with a value is added or replaced, a header with null is deleted, and one you leave out is untouched. A value replaces what is stored under that name rather than adding to it, so an array is the complete new set of lines for that header. Names are case-insensitive, so a null under one casing deletes a header stored under another, and names are stored and returned lowercased.
The set cannot be emptied: a change that would leave no headers is refused with a 400. To remove the set, delete it. The whole field cannot be null.
Same rules as on create: a string or a non-empty array, Cookie and Authorization string-only, 10 headers and under 16 KB in the resulting set, the same reserved names (see the create request) never allowed, and values write-only. Entries set to null do not count towards the limit.
The change applies to everything already using the set. Where Fireblocks sends its own Authorization header, a custom Authorization header is not sent: on a webhook that has webhookOauthId set (an OAuth bearer token), and on the token request of OAuth credentials that use client_secret_basic.
Response
Updated custom headers set
A stored set of custom HTTP headers, referenced by webhooks and by OAuth credentials through their webhookCustomHeadersId. On a webhook the headers go out with every notification; on OAuth credentials they go out on the token request to your authorization server. Header values are write-only: only the names are returned.