webhooks
Update a webhook
Changed onUpdate a webhook
patch/v2/webhooks/{webhook_id}/
Request
- Base URLhttps://api.jwplayer.com
- URLhttps://api.jwplayer.com/v2/webhooks/{webhook_id}/
- AuthAPI key in header Authorization
Path parameters
webhook_idstring required
Unique identifier for a resource
Example:Ny05CEfj
Request body
Example request
{
"metadata": {
"site_ids": [
"Ny05CEfj"
]
}
}Response
Resource successfully updated
Example response
{
"schema": "https://schema.jwplayer.com/types/thumbnail.json",
"id": "Ny05CEfj",
"created": "2019-09-25T15:29:11.042095+00:00",
"last_modified": "2019-09-25T15:29:11.042095+00:00",
"metadata": {
"site_ids": [
"Ny05CEfj"
]
}
}Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- info