Deletes a trigger.
Operation description
A trigger can be deleted only when it is in the Ready, Failed, Suspended, or Succeeded state. Triggers in the Running state cannot be deleted.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:DeleteTrigger |
delete |
*Trigger
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The name of the project. You can obtain the project name from the response of the CreateProject operation. |
test-project |
| Id |
string |
Yes |
The trigger ID. You can obtain the trigger ID from the response of the CreateTrigger operation. |
trigger-9f72636a-0f0c-4baf-ae78-38b27b****** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
FEDC9B1F-30F2-4C1F-8ED2-B7860187**** |
Examples
Success response
JSON format
{
"RequestId": "FEDC9B1F-30F2-4C1F-8ED2-B7860187****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.