Edit mirror access

Update the Accesser devices that are deployed to the vaults associated with a mirror.

Request

Security

Table 1. Roles capable of executing the Edit Mirror Access (editMirrorAccess) API method
Any Super User System Admin Security Admin Operator
  superUser systemAdmin    

HTTP method

POST /manager/api/{apiResponseType}/1.0/editMirrorAccess.adm HTTP/1.1 Host:{manager.dsnet} id={mirrorId}&accessDeviceIds={deviceId}&accessDeviceIds={deviceId}

Curl method

curl -u {admin}:{password} -k ”https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/editMirrorAccess.adm“ -d ”id={mirrorId}&accessDeviceIds={deviceId}&accessDeviceIds={deviceId}“

Parameters

Table 2. Request Parameters for Edit Mirror Access (editMirrorAccess) API method
Parameter Type Usage Default Description
id Long Required  

ID of mirror to edit deployed Accesser devices of.

accessPoolIds Set Optional  

List of IDs of Access Pools to grant or revoke access to this vault template with value of `{add.

Cannot be used with accessPoolMap.

accessPoolMap Map[{accessPoolId}] 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“: {}
}