# Regenerate a webhook's signing secret

Issues a fresh signing secret for the webhook, shown once (same as creation). Hard cutover: the old secret stops verifying immediately — any delivery enqueued after this call signs with the new secret. url, events, active, and delivery history/counters are unaffected, unlike delete-and-recreate.

Canonical: https://easerix.com/docs/developers/api/links/webhooks/regenerateWebhookSecret

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="links" operations={[{"path":"/v1/webhooks/{id}/regenerate-secret","method":"post"}]} />
    </>
  );
}
