cURL
curl --request POST \ --url https://devtune.ai/api/v2/projects/{projectId}/webhooks/{webhookId}/rotate-secret \ --header 'Authorization: Bearer <token>'
{ "data": { "secret": "<string>" }, "meta": { "timestamp": "2023-11-07T05:31:56Z", "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } }
Generates a new HMAC-SHA256 signing secret for the webhook subscription. The old secret is invalidated immediately. The new secret is only returned once in this response.
API key with dtk_live_ prefix. Obtain from Settings > API Keys.
Secret rotated
Show child attributes