Change a webhook
PUT
/api/settings/webhooks/{id}
const url = 'https://forge.example.com/api/settings/webhooks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example","kind":"example","address":"example","token":"example","events":["example"],"includeRestricted":true,"active":true,"version":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://forge.example.com/api/settings/webhooks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "kind": "example", "address": "example", "token": "example", "events": [ "example" ], "includeRestricted": true, "active": true, "version": 1 }'With the version you read. Leave address and token out to keep the ones kept. A Jira Automation rule’s address moved to another server needs its token again. active true makes a paused webhook active again. The kind cannot change. For administrators.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
required
string
kind
required
null | string
address
required
null | string
token
required
null | string
events
required
Array<string>
includeRestricted
required
boolean
active
required
boolean
version
required
null | integer | string format: int32
Example generated
{ "name": "example", "kind": "example", "address": "example", "token": "example", "events": [ "example" ], "includeRestricted": true, "active": true, "version": 1}Responses
Section titled “Responses”OK
Media typeapplication/json
object
id
required
string format: uuid
name
required
string
kind
required
string
host
required
string
addressEnd
required
string
events
required
Array<string>
includeRestricted
required
boolean
active
required
boolean
paused
required
null | string
pausedAt
required
null | string format: date-time
failingSince
required
null | string format: date-time
version
required
integer | string format: int32
updatedAt
required
string format: date-time
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "kind": "example", "host": "example", "addressEnd": "example", "events": [ "example" ], "includeRestricted": true, "active": true, "paused": "example", "pausedAt": "2026-04-15T12:00:00Z", "failingSince": "2026-04-15T12:00:00Z", "version": 1, "updatedAt": "2026-04-15T12:00:00Z"}default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}