Skip to main content
PATCH
Update webhook target
Required scope: admin

Authorizations

Authorization
string
header
required

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

Path Parameters

org
string
required
Minimum string length: 1
webhookTargetId
string
required
Minimum string length: 1

Body

application/json
name
string | null
Required string length: 1 - 256
url
string<uri>
events
enum<string>[]
Minimum array length: 1
Available options:
repo.created,
repo.updated,
repo.deleted,
bookmark.created,
bookmark.deleted,
bookmark.moved,
bookmark.merged,
change.created,
change.evolved,
push,
sync.queued,
sync.in_progress,
sync.completed,
sync.failed
repo_ids
string[] | null
Minimum array length: 1
Minimum string length: 1

Response

Webhook target updated

id
string
required
name
string | null
required
url
string
required
events
enum<string>[]
required
Available options:
repo.created,
repo.updated,
repo.deleted,
bookmark.created,
bookmark.deleted,
bookmark.moved,
bookmark.merged,
change.created,
change.evolved,
push,
sync.queued,
sync.in_progress,
sync.completed,
sync.failed
repo_ids
string[] | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required