Reset a Web Hook Secret Token
Regenerate the secret token associated with a webhook endpoint resource
Path parameters
-
webhook_id parameter
PATCH /webhooks/{webhook_id}/secret_token/reset
curl \
-X PATCH https://api.arta.io/webhooks/{webhook_id}/secret_token/reset \
-H "Authorization: ARTA_APIKey s0e1t2e3c4a5s6t7r8o9n10o11m12y"
Response examples (200)
# Headers
content-type: application/json
x-arta-request-id: FkBjuxbwLLTx4RoAARkx
# Payload
{
"secret_token": "zASePCHfe2FYKjXl1YhFukNY5T7hCqgX0RRBUVi_289ubnhBvN9U03uOqG8oB2Oz"
}
Response examples (404)
# Headers
content-type: application/json
x-arta-request-id: FkBjuxbwLLTx4RoAARkx
# Payload
{
"errors": {
"detail": "string"
}
}