All Products
Search
Document Center

DeleteRepoWebhook

Last Updated: Jan 22, 2020

Description

You can call this operation to delete a trigger of an image repository.

Request information

Request line

  1. DELETE /repos/[RepoNamespace]/[RepoName]/webhooks/[WebhookId] HTTP/1.1

Request parameters

Parameter Type Required Description
RepoNamespace String Yes The namespace to which the image repository belongs.
RepoName String Yes The name of the image repository.
WebhookId Long Yes The ID of the trigger that you want to delete.

Custom request headers

None.

Request body

None.

Request body description

None

Response information

Response line

  1. HTTP/1.1 200 OK

Custom response headers

None.

Response body

  1. {
  2. "data": {},
  3. "requestId": "String"
  4. }

Examples

Sample requests

  1. DELETE /repos/[RepoNamespace]/[RepoName]/webhooks/[WebhookId] HTTP/1.1
  2. <Common request headers>

Sample responses

  1. HTTP/1.1 200 OK
  2. <Common response headers>
  3. {
  4. "data": {},
  5. "requestId": "639F1195-56D9-49B7-BC47-B3BFCC9ED1C9"
  6. }