You need to enable JavaScript to run this app.
Volcano Engine Function as a Service

Volcano Engine Function as a Service

Copy page
Download PDF
Asynchronous task
TerminateAsyncTask
Copy page
Download PDF
TerminateAsyncTask
Terminate the asynchronous task.​
Request description​
  • Request method: POST​
  • Request address: http://open.volcengineapi.com/?Action=TerminateAsyncTask&Version=2024-06-06​
Debugging​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameter​
​
Parameter​
Type​
Required or Not​
Sample value​
Description​
Action​
String​
Yes​
TerminateAsyncTask​
Interface name. The current API is called TerminateAsyncTask.​
Version​
String​
Yes​
2024-06-06​
Interface version. The current version of the API is 2024-06-06.​
FunctionId​
String​
Yes​
wrw******​
Function ID. You can call the ListFunctions interface to obtain function ID (Items.Id).​
RequestId​
String​
Yes​
634f6fbf-e7fa-4d87-85e3-8b085944a71b​
The RequestId of the asynchronous task that needs to be terminated.​
​
Sample request​
​
POST http://open.volcengineapi.com/?Action=TerminateAsyncTask&Version=2024-06-06 HTTP/1.1​
Content-Type: application/json​
{​
"FunctionId": "wrw******",​
"RequestId": "634f6fbf-e7fa-4d87-85e3-8b085944a71b"​
}​
​
Response parameter​
This interface has no specific response parameters. For public response parameters, please refer to Response result.​
Sample response​
​
HTTP/1.1 200 OK​
Content-Type: application/json​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "TerminateAsyncTask",​
"Version": "2024-06-06",​
"Service": "vefaas",​
"Region": "cn-beijing"​
}​
}​
​
Error code​
The current interface temporarily has no independent error code. If the interface calls back abnormally, you can refer to the Public error code to troubleshoot.​
Last updated: 2025.06.30 11:37:45