Updated on 2023-11-28 GMT+08:00

Deleting a Pipeline Template

Function

Deleting a Pipeline Template

URI

DELETE /v5/{tenant_id}/api/pipeline-templates/{template_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

tenant_id

Yes

String

Indicates the tenant ID.

template_id

Yes

String

The template ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token. Can be obtained by calling the IAM API for obtaining the user token (the value of X-Subject-Token in the response header).

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

templateId

String

The template ID.

Status code: 400

Table 4 Response body parameters

Parameter

Type

Description

error_msg

String

Error Message

error_code

String

Error code.

Example Requests

DELETE https://{endpoint}/v5/ce8df55870164338a72d7e828a966a2a/pipeline-templates/8178e40e7525419596a2c02e0c12e690

Example Responses

Status code: 200

OK

{
  "templateId" : "8178e40e7525419596a2c02e0c12e690"
}

Status Codes

Status Code

Description

200

OK

400

Bad request

401

Unauthorized

403

Forbidden

404

Not Found

Error Codes

See Error Codes.