Skip to main content
PUT
/
api
/
webhooks
/
configs
/
{id}
/
secret
/
change
Change the signing secret of a config
curl --request PUT \
  --url http://localhost/api/webhooks/configs/{id}/secret/change \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "secret": "V0bivxRWveaoz08afqjU6Ko/jwO0Cb+3"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "endpoint": "https://example.com",
    "secret": "V0bivxRWveaoz08afqjU6Ko/jwO0Cb+3",
    "eventTypes": [
      "TYPE1",
      "TYPE2"
    ],
    "active": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.formance.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

Config ID

Example:

"4997257d-dfb6-445b-929c-cbe2ab182818"

Body

application/json
secret
string
required
Example:

"V0bivxRWveaoz08afqjU6Ko/jwO0Cb+3"

Response

Secret successfully changed.

data
object
required