Rotate the secret
POST/v1/webhooks/{id}/rotate_secretKey scope write
Replaces the endpoint's signing secret and returns the new one once. The old secret stops being used at once, so deliveries signed after the call verify only with the new secret.
Needs a key with the write scope. Authentication
Path parameters
idstringRequiredId of the endpoint:
whe_plus 22 base62 characters.
Returns
The endpoint, including the new secret.
Errors
- 404
not_foundThe key's project has no webhook endpoint with this id.
Every endpoint can also answer the errors any request can meet: a missing key, a rate limit, a malformed body. Errors
Something missing or unclear on this page? Write to support@useinfrared.com.