Hooks

Updates an existing hook configuration

patch/v1/orgs/{org_id}/hooks/{hook_id}

Request

  • Base URL
    https://api.arcade.dev
  • Auth
    API key in header Authorization

Path parameters

org_idstring required

Organization ID

hook_idstring required

Hook ID

Request body

failure_mode'fail_closed' | 'fail_open'
phase'before' | 'after'
priorityinteger
status'inactive' | 'active'
timeout_msinteger

Response

OK

cache_enabledboolean
cache_ttl_msinteger
created_atstring
failure_mode'fail_closed' | 'fail_open'
hook_pointstring
idstring
namestring
phase'before' | 'after'
plugin_idstring
priorityinteger
status'inactive' | 'active'
timeout_msinteger
updated_atstring
versioninteger

Changes