doc-exports/docs/modelarts/api-ref/DeleteAlgorithm.html
Lai, Weijian 2f0818cf3d ModelArts API 22.3.0 version-20240311
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lai, Weijian <laiweijian4@huawei.com>
Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
2024-04-05 09:35:42 +00:00

3.6 KiB

Deleting an Algorithm

Function

This API is used to delete an algorithm.

URI

DELETE /v2/{project_id}/algorithms/{algorithm_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. For details, see Obtaining a Project ID.

algorithm_id

Yes

String

Algorithm ID.

Request Parameters

None

Response Parameters

None

Example Requests

The following shows how to modify the algorithm whose UUID is 2e5451fe-913f-4492-821a-2981031382f7.

DELETE     https://endpoint/v2/{project_id}/algorithms/2e5451fe-913f-4492-821a-2981031382f7

Example Responses

Status code: 202

No Content

null

Status Codes

Status Code

Description

202

No Content

Error Codes

See Error Codes.