Events - Wekbhook Headers
Update Webhook Header
PUT
/v1/events/webhooks/{webhook_id}/headers/{header_id}
X-Violet-Token
X-Violet-App-Secret
X-Violet-App-Id
curl --request PUT \
--url https://sandbox-api.violet.io/v1/events/webhooks/{webhook_id}/headers/{header_id} \
--header 'Content-Type: application/json'
{
"app_id": "integer",
"date_created": "string",
"date_last_modified": "string",
"id": "integer",
"key": "string",
"value": "string",
"webhook_id": "integer"
}
Update a WebhookHeader
given the webhook_id
and header_id
.
Headers
X-Violet-Token
string
X-Violet-App-Secret
string
X-Violet-App-Id
integer
Path Parameters
webhook_idrequired
integer
header_idrequired
integer
Query Parameters
app_id
integer
Body
application/json
app_id
integer
App ID
date_created
string
Date of creation
date_last_modified
string
Date of last update
id
integer
key
string
Header Key
value
string
Header Value
webhook_id
integer
ID of the webhook the header belongs to
Response
200 - application/json
app_id
integer
App ID
date_created
string
Date of creation
date_last_modified
string
Date of last update
id
integer
key
string
Header Key
value
string
Header Value
webhook_id
integer
ID of the webhook the header belongs to
curl --request PUT \
--url https://sandbox-api.violet.io/v1/events/webhooks/{webhook_id}/headers/{header_id} \
--header 'Content-Type: application/json'
{
"app_id": "integer",
"date_created": "string",
"date_last_modified": "string",
"id": "integer",
"key": "string",
"value": "string",
"webhook_id": "integer"
}