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

Non-Maven File Deletion

Function

Non-Maven file deletion.

URI

DELETE /cloudartifact/v5/file

Request Parameters

Table 1 Request body parameters

Parameter

Mandatory

Type

Description

path

Yes

String

File path.

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

status

String

Result status.

trace_id

String

Request ID.

result

String

Returned result of the request. The return value varies according to the API.

Example Requests

Non-Maven file deletion.

https://artifact.cn-south-1.myhuaweicloud.com/cloudartifact/v5/file

{
  "path" : "cn-north-7_5a775fdcb14f4431b6c0015618140bc3_go_19/down/down/GOR7zo553IL44I063cdVKui7n58078"
}

Example Responses

Status code: 200

OK

{
  "status" : "success",
  "trace_id" : "143002-1701223356546-449",
  "result" : "delete file success!"
}

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.