文章 Update Webhook REST 端点

URLs

PUT api/v1/webhooks.xml (or .json)

Request Parameters

名称

类型

描述

必需

默认值

选项

CallBackUrlId

int

Id of the Webhook to update

CallBackUrl

string

Url of the Webhook to register to

IsEnabled

bool

Disabled webhooks will not recieve any event data

RegenerateSecret

bool

If true, the hash verification secret token for this webhook will be regenerated.

SubscribedWebhookIds

string

Comma-separated list of ids of each Webhook to register to. This will set each listed webhook as subscribed, and each not listed webhook as not subscribed.