Sets a custom mail subject for a specific monitoring check
Name | Data Type | Status | Description |
auth-id | Integer | Required | Authentication parameter |
auth-password | String | Required | Authentication parameter |
id | Integer | Required | The ID of the monitoring check |
subject | String | Optional | If this parameter is missing or it is wrong, sets the default mail subject. With this parameter, you can set a custom mail subject by using these variables:
|
When the authenctication of API user is not correct, any API request will fail with the following status and statusDescription:
{"status":"Failed","statusDescription":"Invalid authentication, incorrect auth-id or auth-password."}
When the record-id is incorrect or missing, any API request will fail with the following status and statusDescription:
{"status":"Failed","statusDescription":"Invalid request."}
Note: These are example errors in JSON format.
URL JSON: https://api.cloudns.net/monitoring/set-custom-subject.json
Domain POST/GET: auth-id=0&auth-password=password&id=125&subject=My custom mail subject - {NAME} {IP} {STATUS}
URL XML: https://api.cloudns.net/monitoring/set-custom-subject.xml
Domain POST/GET: auth-id=0&auth-password=password&id=125&subject=My custom mail subject - {NAME} {IP} {STATUS}