Deleting Scenarios
Function
This API is used to delete the information about a scenario.
URI
DELETE /v1/{project_id}/scene
| 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. |
Request
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| scene_id | Yes | String | Scenario ID. |
Response
Table 3 describes the response parameters.
| Parameter | Type | Description |
|---|---|---|
| is_success | Boolean | Whether the request is successful |
| message | string | Response message |
| error_code | String | Error code that indicates a request has failed. This parameter is unavailable when a request is successful. |
| error_msg | String | Error message that indicates a request has failed. This parameter is unavailable when a request is successful. |
Example
- Example of a successful response
{ "is_success": true, "message": "Succeed to delete the scene information." } - Example of a failed response
{ "is_success": false, "error_code": "res.6049", "error_msg": "The scenario ID you entered does not exist." }
Status Code
For details about status codes, see Status Codes.
Last Article: Querying Scenarios
Next Article: Configuring Global Metrics
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.