Skip to main content
POST
/
api
/
webhooks
/
{id}
/
rotate-secret
Rotate webhook signing secret
curl --request POST \
  --url https://api.shelv.dev/api/webhooks/{id}/rotate-secret \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "secret": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Response

New signing secret

id
string<uuid>
required
secret
string
required