文章 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.

否