Reset a Webhook Secret Token

PATCH /webhooks/{webhook_id}/secret_token/reset

Regenerate the secret token associated with a webhook endpoint resource

Headers

  • Authorization string Required

    Authorize your API calls with an Arta API token

Path parameters

Responses

  • 200 application/json

    Successful Webhook response

    Hide headers attributes Show headers attributes
    Hide response attribute Show response attribute object
    • The new secret token associated with the webhook endpoint

  • 404 application/json

    Resource Not Found

    Hide headers attributes Show headers attributes
    Hide response attribute Show response attribute object

    Basic Error

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)
{
  "secret_token": "zASePCHfe2FYKjXl1YhFukNY5T7hCqgX0RRBUVi_289ubnhBvN9U03uOqG8oB2Oz"
}
Response examples (404)
# Headers
content-type: application/json
x-arta-request-id: FkBjuxbwLLTx4RoAARkx

# Payload
{
  "errors": {
    "detail": "string"
  }
}