Updated on 2024-03-21 GMT+08:00

Deleting an Algorithm

Function

This API is used to delete an algorithm.

Debugging

You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.

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 and Name.

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.