Deletes an image trigger for a repository.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteRepoTrigger

The operation that you want to perform. Set the value to DeleteRepoTrigger.

InstanceId String Yes cri-xkx6vujuhay0tasd

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region where the instance resides.

RepoId String Yes crr-xwvi3osiy4ffoasd

The ID of the image repository.

TriggerId String Yes crw-0z4pf81pgz35sqw2

The ID of the trigger.

Response parameters

Parameter Type Example Description
IsSuccess Boolean true

Indicates whether the operation is successful.

Code String success

The code returned for the request.

RequestId String 85180AE4-9A57-48F8-9EF9-68ECCE54B552

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DeleteRepoTrigger
&InstanceId=cri-xkx6vujuhay0tasd
&RegionId=cn-shanghai
&RepoId=crr-xwvi3osiy4ffoasd
&TriggerId=crw-0z4pf81pgz35sqw2
&<Common request parameters>

Sample success responses

JSON format

{
    "IsSuccess":true,
    "RequestId":"85180AE4-9A57-48F8-9EF9-68ECCE54B552",
    "Code":"success"
}

XML format

<IsSuccess>true</IsSuccess>
<RequestId>85180AE4-9A57-48F8-9EF9-68ECCE54B552</RequestId>
<Code>success</Code>

Error codes

For a list of error codes, visit the API Error Center.