Deleting a Dump Task¶
Function¶
This API is used to delete a dump task.
Calling Method¶
For details, see Calling APIs.
URI¶
DELETE /v2/{project_id}/streams/{stream_name}/transfer-tasks/{task_name}
Parameter | Mandatory | Type | Description |
---|---|---|---|
project_id | Yes | String | Project ID |
stream_name | Yes | String | Name of the stream |
task_name | Yes | String | Name of the dump task to be deleted |
Request Parameters¶
Parameter | Mandatory | Type | Description |
---|---|---|---|
X-Auth-Token | Yes | String | User token. It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. |
Response Parameters¶
None
Example Requests¶
Deleting a Dump Task
DELETE https://{Endpoint}/v2/{project_id}/streams/{stream_name}/transfer-tasks/{task_name}
Example Responses¶
None
Status Codes¶
Status Code | Description |
---|---|
204 | Normal response |
Error Codes¶
See Error Codes.