Skip to main content
PATCH
/
v1
/
callback-secrets
/
{id}
Update callback secret
curl --request PATCH \
  --url https://api.runflow.io/v1/callback-secrets/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "label": "<string>",
  "is_current": true
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "key_prefix": "<string>",
  "is_current": true,
  "label": "<string>",
  "disabled_at": "2023-11-07T05:31:56Z",
  "last_used_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Organization-Id
string | null

Path Parameters

id
string<uuid>
required

Body

application/json

PATCH body — label update or is_current promotion.

label
string | null
Maximum string length: 255
is_current
boolean | null

Response

Successful Response

Response shape — never exposes secret material.

id
string<uuid> | null
org_id
string<uuid> | null
key_prefix
string | null
is_current
boolean | null
label
string | null
disabled_at
string<date-time> | null
last_used_at
string<date-time> | null
created_at
string<date-time> | null
updated_at
string<date-time> | null