Delete a mirror
Delete a mirror.
Note: It does not delete vaults that are associated with the mirror, but it removes the
restrictions that the mirror placed upon those vaults.
CAUTION:
The Delete Mirror API will be deprecated in a follow-on release. As a result we
strongly encourage users to replace the Delete Mirror API with the Break Mirror API.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin |
HTTP method
POST /manager/api/{apiResponseType}/1.0/deleteMirror.adm HTTP/1.1
Host:{manager.dsnet} id={mirrorId}&password={adminPassword}
Curl method
curl -u {admin}:{password} -k
”https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/deleteMirror.adm“ -d
”id={mirrorId}&password={adminPassword}“
Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| id | Long | Required |
ID of the mirror to delete. |
|
| password | String | Required |
Password of user that is making the request. |
|
| vaultId | Long | Optional |
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“: {}
}