Rotate Endpoint Secret
POST https://api.sinay.ai/webhook/api/v1/endpoint/:endpoint_id/secret/rotate
Rotates the endpoint's signing secret. The previous secret will be valid for the next 24 hours.
Request Body
{"key"=>nil}
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| idempotency-key | string | The request's idempotency key | |
| Content-Type | string | ||
| Accept | string |