Deleting All Triggers of a Function
Function
This API is used to delete all triggers of a function. If a non-LATEST function version is specified, all triggers corresponding to the version will be deleted. If an alias is specified, all triggers corresponding to the alias will be deleted. If neither function versions nor aliases are specified or the LATEST version is specified, all triggers of the function (including all versions and aliases) will be deleted.
URI
DELETE /v2/{project_id}/fgs/triggers/{function_urn}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Tenant's project ID. |
|
function_urn |
Yes |
String |
Function URN. |
Request Parameters
None
Response Parameters
None
Example Requests
DELETE https://{functiongraph_endpoint}/v2/7aad83af3e8d42e99ac194e8419e2c9b/fgs/triggers/urn:fss:xxxxxxxxxx:7aad83af3e8d42e99ac194e8419e2c9b:function:default:test:latest
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
204 |
No Content |
|
404 |
Not Found |
Error Codes
See Error Codes.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.