Deleting Services
Function
This API is used to delete service details.
URI
DELETE /v1/{project_id}/infer-services/{service_id}
Table 1 describes the URI parameters.
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Project ID, which is used for resource isolation. For details about how to obtain the project ID, see Obtaining a Project ID. |
| service_id | Yes | String | Service ID |
Request
N/A
Response
Table 2 describes the response parameters.
Example
- Example of a successful response
{ "is_success": true, "message": "Succeed to delete service." } - Example of a failed response
{ "is_success": false, "error_code": "res.4721", "error_msg": "service is not exist." }
Status Code
For details about status codes, see Status Codes.
Last Article: Stopping/Starting Services
Next Article: Querying the Image Lists
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.