doc-exports/docs/dis/api-ref/DeleteTransferTask.html
gtema 6bc123a554 Reimplementation of docs/doc-exports#263
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: gtema <artem.goncharov@gmail.com>
Co-committed-by: gtema <artem.goncharov@gmail.com>
2022-11-11 12:03:08 +00:00

5.0 KiB

Deleting Dump Tasks

Function

This API is used to delete dump tasks.

URI

DELETE /v2/{project_id}/streams/{stream_name}/transfer-tasks/{task_name}

Table 1 Path parameters

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

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token.

The token can be obtained by calling the IAM API (value of X-Subject-Token in the response header).

Response Parameters

None

Example Requests

Deleting Dump Tasks

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.