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

Stopping Algorithm Deployment

Function

This API is used to stop algorithm deployment.

URI

PUT /v2/{project_id}/algorithm/{alg_id}/deploy/stop

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

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

alg_id

Yes

String

Algorithm ID

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token. For details about how to obtain a user token, see Authentication.

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

alg_id

String

Algorithm ID

Example Requests

This request is used to stop algorithm deployment.

GET https://{endpoint}/v2/{project_id}/algorithm/068ed4d8-077e-4ec9-aa19-bc******e925/deploy/stop

Example Responses

Status code: 200

Response body for stopping algorithm deployment

{
  "alg_id" : "068ed4d8-077e-4ec9-aa19-bc******e925"
}

Status Codes

Status Code

Description

200

Response body for stopping algorithm deployment

400

Request error

500

Internal error

Error Codes

See Error Codes.