API / Webhooks

POST

/webhooks/endpoints/{id}/rotate-secret

Rotate a webhook endpoint's signing secret

Authentification : clé API Bearer requise.

Paramètres

NomDansTypeDescription
id*pathstringEndpoint ID

Exemple curl

curl -X POST https://api.sporee.fr/webhooks/endpoints/<id>/rotate-secret \
  -H "Authorization: Bearer $SPORE_API_KEY"

Réponses

StatutDescriptionType
200OKrotate_secret.Result
400Bad Requestecho.HTTPError
401Unauthorizedecho.HTTPError
404Not Foundecho.HTTPError

Source machine : openapi.json · opération rotateWebhookSecret