Remove Webhook
DELETE
/webhook/deleteRequest
Header Params
Content-Type
string
required
Example:
application/json
accessToken
string
required
Example:
{{accessToken}}
Body Params application/json
webhookId
integer <int64>
required
Webhook ID
Example
{
"webhookId": 1
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
createBy
integer <int64>
optional
Creator ID
webhookId
integer <int64>
optional
Webhook ID
signature
string
optional
Token
createTime
string <date>
optional
Creation Time
name
string
optional
Webhook Name
state
string
optional
Webhook state(enabled: Enabled, disabled: Disabled), disabled by default
type
string
optional
Webhook Type
projectId
integer <int64>
optional
Project ID
url
string
optional
Callback URL
events
array [object {5}]
optional
Event List
eventCode
string
optional
Event Code
eventId
integer <int64>
optional
Event ID
typeName
string
optional
Event Type Name
eventName
string
optional
Event Name
typeCode
string
optional
Event Type Code
Example
{
"code": "0",
"data": {
"createBy": 1,
"webhookId": 1,
"signature": "xxx",
"createTime": 1646301600000,
"name": "xxx",
"state": "disabled",
"type": "dingTalk",
"projectId": 1,
"url": "https://xxx.xxx.com/callback",
"events": [
{
"eventCode": "create",
"eventId": 1,
"typeName": "xxx",
"eventName": "xxx",
"typeCode": "issue"
}
]
}
}
Last modified: 7 months ago