Skip to main content

PATCH /v0/teams/{id}/webhooks - Admin API

Replaces the full list of Webhooks assigned to a team.

Updated on
Nov 26, 2026

Replace the team's Webhook assignments. To add a Webhook, get the current assignments and send the IDs you want to keep along with the new ID. Assignments to other teams stay in place.

Requires an Admin API key with the Admin role, access to the team, and Webhooks REST API access. A team-scoped key can't assign a Webhook that belongs only to teams outside its scope. An ID that doesn't identify a Webhook in the account returns HTTP 404. See Admin API errors.

Path Parameters

id
integer
REQUIRED

The unique identifier of the team.

Body Parameters

webhook_ids
array
REQUIRED

The complete array of Webhook IDs to assign. Every entry must be a non-blank string. Pass [] to clear all Webhook assignments.

Returns

data
object

The result of the assignment update.

success
boolean

True when the assignment update succeeds.

error
string | null

Null on success. For Console API errors, this field contains the error message.

Request
Response
1
{
2
"data": {
3
"success": true
4
},
5
"error": null
6
}
1
{
2
"data": {
3
"success": true
4
},
5
"error": null
6
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free