EventSources
Rotate event source credentials
Issues a new inbound_url token and signing secret for an inbound webhook source. The old URL answers 404 immediately, so update the sending service with the new inbound_url. 422 for sources that are not inbound webhooks.
post/event_sources/{id}/rotate
Request
- Base URL: https://api.crevio.co/v1
- URL: https://api.crevio.co/v1/event_sources/{id}/rotate
- Auth: API key in header Authorization
Path parameters
idstring required
The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")
Headers
Idempotency-Keystring
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Response
Rotated event source
Changes
No recorded changes to this operation across all 2 revisions of this API.