Updated on 2024-04-19 GMT+08:00

Deleting a Customized Script

Function

This API is used to delete custom job scripts.

URI

DELETE /v1/job/scripts/{script_uuid}

Table 1 Path parameters

Parameter

Mandatory or Not

Type

Description

script_uuid

Yes

String

Script UUID.

Minimum length: 1 character

Maximum length: 25 characters

Request Parameters

None

Response Parameters

Status code: 400

Table 2 Response body parameters

Parameter

Type

Description

error_code

String

Error code

Minimum length: 8 characters

Maximum length: 36 characters

error_msg

String

Error description

Minimum length: 2 characters

Maximum length: 512 characters

Request Example

None

Response Example

Status code: 400

Contains error information.

{
  "error_code" : "COC.00040701",
  "error_msg" : "error_msg"
}

Status Code

Status Code

Description

200

Script UUID.

400

Contains error information.

Error code

See Error code.