Deletes a trigger of a repository.
Request information
Request line
DELETE /repos/[RepoNamespace]/[RepoName]/webhooks/[WebhookId] HTTP/1.1
Request line parameters
Parameter | Type | Required | Description |
---|---|---|---|
RepoNamespace | String | Yes | The namespace to which the repository belongs. You must select a created namespace. |
RepoName | String | Yes | The name of the repository. |
WebhookId | Long | Yes | The ID of the trigger. |
Operation-specific request headers
None.
Request body
None.
Request body parameters
None.
Response information
Response line
HTTP/1.1 200 OK
Operation-specific response headers
None.
Response body
{
"data": {},
"requestId": "String"
}
Examples
Sample requests
DELETE /repos/[RepoNamespace]/[RepoName]/webhooks/[WebhookId] HTTP/1.1
<Common request headers>
Sample responses
HTTP/1.1 200 OK
<Common response headers>
{
"data": {},
"requestId": "639F1195-56D9-49B7-BC47-B3BFCC9ED1C9"
}