Edit vault access
Edit the IBM Cloud Object Storage Accesser® assigned to the vault. It can take up to 5 minutes for any changes here to update across the system. Adding an Accesser to a vault makes the vault available to a traditional storage client over a protocol such as HTTP or iSCSI.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin |
HTTP method
POST /manager/api/{apiResponseType}/1.0/editVaultAccess.adm HTTP/1.1
Host:{manager.dsnet}
id={vaultId}&accessDeviceIps={ip1}&accessDeviceIps={ip2}
Curl method
curl -u {admin}:{password} -k
”https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/editVaultAccess.adm“ -d
”id={vaultId}&accessDeviceIps={ip1}&accessDeviceIps={ip2}“
Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| id | Long | Required |
ID of vault to edit. This ID is returned after vault creation. |
|
| accessPoolIds | Set[{accessPoolId}] | Optional |
A list of Access Pool IDs to deploy to the vault. It should not be provided along with accessPoolMap. |
|
| accessPoolMap | Map[{accessPoolId}] | Optional |
Map of Access Pool IDs to action, to either add or remove visibility. It should not be provided along with accessPoolIds. |
|
| accessIds | Set[{accessPoolId}] | Optional |
A comma-separated list of ALL IP addresses (+ optionally action groups) that should have access to the vault. |
|
| accessMap | Map[{accessPoolId}] | Optional |
A map of IP address to action representing whether to add or remove the IP (+ optionally action groups) from the set of allowed. |
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
Default JSON success or failure response that is shown in Default JSON success response and Default JSON failure response.
Parameters
None other than the default response parameters shown in Common response parameters.