Roll webhook secret
POST
Generate a new signing secret for a webhook endpoint. The old secret is immediately invalidated.
apiKeyHeaderheader
x-api-key<token>API key for authentication. Generate from the dashboard or via POST /v1/api-keys.
id*stringUnique webhook endpoint ID
x-api-key*stringAPI key for authentication
Length
1 <= lengthResponse for status 200
application/json- response
id*stringsecret*stringcurl -X POST 'https://api.tryaccess.xyz/api/v1/webhooks/endpoints/wh_01J9Z8K2P3Q4R5S6T7U8V9W0X1/roll-secret' \ -H 'x-api-key: string'{ "id": "string", "secret": "string"}How is this guide?