Deleting a Custom Alarm Template
Function
This API is used to delete a custom alarm template.
URI
DELETE /V1.0/{project_id}/alarm-template/{template_id}
- Parameter description
Table 1 Parameter description Parameter
Mandatory
Description
project_id
Yes
Specifies the project ID.
For details about how to obtain the project ID, see Obtaining a Project ID.
template_id
Yes
Specifies the ID of the custom alarm template you want to delete.
- Example
DELETE https://{Cloud Eye endpoint}/V1.0/{project_id}/alarm-template/at1603252280799wLRyGLxnz
Request
The request has no message body.
Response
The response has no message body.
Returned Values
- Normal
- Abnormal
Returned Value
Description
400 Bad Request
Request error.
401 Unauthorized
The authentication information is not provided or is incorrect.
403 Forbidden
You are forbidden to access the page requested.
408 Request Timeout
The request timed out.
429 Too Many Requests
Concurrent requests are excessive.
500 Internal Server Error
Failed to complete the request because of an internal service error.
503 Service Unavailable
The service is currently unavailable.
Error Code
For details, see Error Codes.
Last Article: Creating a Custom Alarm Template
Next Article: Querying Alarm History
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.