Delete a mirror template
Returns success or error status. Deletes a mirror template and both of the vault templates that are associated with the mirror from the system.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin |
HTTP method
POST /manager/api/{apiResponseType}/1.0/deleteMirrorTemplate.adm HTTP/1.1
Host:{manager.dsnet} id={mirrorId}&password={adminPassword}
Curl method
curl -X POST -u admin:password --header ”Content-Type:
application/x-www-form-urlencoded“ --header ”Accept: application/json“ -k
'https://192.168.25.14/manager/api/json/1.0/deleteMirrorTemplate.adm' -d
'id=11&password=password'
Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| id | Long | Required |
Manager-generated ID of the object to delete. |
|
| password | String | Required |
Password of user that is making the request. |
Response
Returns success or failure status.
HTTP response codes
- When using an incorrect mirror ID, the request responds with the 422 HTTP status code and the The given mirror id is invalid HTTP status message.
JSON response example
{
”responseStatus“: ”ok“,
”responseHeader“: {
”status“: ”ok“,
”now“: 1399577922741,
”requestId“: ”U2vdQsCoDkMAACkJCP0AAAAI“
},
”responseData“: {}
}