Skip to main content
POST
Attach a Secret to a Function

Authorizations

X-BB-API-Key
string
header
required

Path Parameters

id
string<uuid>
required

Body

application/json
secretId
string<uuid>
required

The id of the project secret to attach (the id returned by POST /v1/secrets). Idempotent: re-attaching an already-attached secret succeeds.

Response

The secret was attached to the function.