All Products
Search
Document Center

Function Compute:StopAsyncTask

Last Updated:Sep 14, 2024

Stops an asynchronous task.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

PUT /2023-03-30/functions/{functionName}/async-tasks/{taskId}/stop

Request parameters

ParameterTypeRequiredDescriptionExample
functionNamestringYes

The function name.

my-func
taskIdstringYes

The ID of the asynchronous task.

e026ae92-61e5-472f-b32d-1c9e3c4e****
qualifierstringNo

The version or alias of the function.

LATEST

Response parameters

ParameterTypeDescriptionExample
The current API has no return parameters

Examples

Sample success responses

JSONformat

{}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history