webhooks

Rotate Secret

Issue a new signing secret. Returned ONCE, and the old one stops working now.

Two path segments, so no /{endpoint_id} route can swallow it whatever the declaration order -- unlike /preview, which is a sibling of the id itself and has to be declared before it.

post/api/v1/webhooks/{endpoint_id}/rotate

Request

  • Base URL: https://legalize.dev (the document declares no server; this is the origin it was published from)
  • URL: https://legalize.dev/api/v1/webhooks/{endpoint_id}/rotate
  • Auth: API key in header Authorization

Path parameters

endpoint_idinteger required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.