Skip to main content
PUT
Update prehook configuration

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Information of a prehook to be updated.

enabled
boolean
callbackUrl
string
Maximum string length: 900
defaultAction
enum<string>
Available options:
allow,
deny
regenerateKey
boolean

An option for regenerating the secret key.

Response

Prehook configuration

Prehook Setting

enabled
boolean
callbackUrl
string
defaultAction
enum<string>
Available options:
allow,
deny
secretKey
string

This will be available only when regenerateKey or enable the feature for the first time