Reset a Web Hook 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 secret token associated with the webhook endpoint

  • 404 application/json

    Not Found

    Hide headers attributes Show headers attributes
    Hide response attribute Show response attribute object
    • errors object

      Additional properties are allowed.

      Hide errors attribute Show errors attribute object
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"
  }
}