Deletes a trigger.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
fc:DeleteTrigger |
delete |
*All Resource
|
None | None |
Request syntax
DELETE /2021-04-06/services/{serviceName}/functions/{functionName}/triggers/{triggerName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| serviceName |
string |
Yes |
The name of the service. |
demoService |
| functionName |
string |
Yes |
The name of the function. |
demoFunction |
| triggerName |
string |
Yes |
The name of the trigger. |
demoTrigger |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| If-Match |
string |
No |
Ensures the resource version matches before deletion. Obtain this value from CreateTrigger, GetTrigger, or UpdateTrigger responses. |
e19d5cd5af0378da05f63f891c74**** |
| X-Fc-Account-Id |
string |
No |
The ID of your Alibaba Cloud account. |
188077086902**** |
| X-Fc-Date |
string |
No |
Client request time. Format: EEE,d MMM yyyy HH:mm:ss GMT. |
Wed, 11 May 2022 09:00:00 GMT |
| X-Fc-Trace-Id |
string |
No |
The custom request ID. |
my-test-trace-id |
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Examples
Success response
JSON format
{}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.