Skip to main content
PUT
/
api
/
hooks
/
{hookId}
Update Webhook
curl --request PUT \
  --url https://{tenant}/api/hooks/{hookId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "header_map": {},
  "method": "<string>",
  "name": "<string>",
  "target_path": "<string>"
}
'
{
  "ID": "<string>",
  "Message": "<string>",
  "Meta": "<unknown>",
  "Status": "<string>"
}

Authorizations

Authorization
string
header
required

The Tyk Dashboard API Access Credentials

Path Parameters

hookId
string
required

ID of the webhook to update

Body

application/json
header_map
object
method
string
name
string
target_path
string

Response

Webhook updated.

ID
string
Message
string
Meta
any
Status
string