Create a vault or mirror from provisioning code
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin |
HTTP method
POST /manager/api/{apiResponseType}/1.0/createVaultOrMirrorFromProvisioningCode.adm HTTP/1.1
Host:{manager.dsnet} name={newVault/MirrorName}&provisioningCode={provisioningCode}Curl method
curl -u {admin}:{password} ”https://{manager.dsnet}/manager/api/
{apiResponseType}/1.0/createVaultOrMirrorFromProvisioningCode.adm“
-d ”name={newVault/MirrorName}&provisioningCode={provisioningCode}“
Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| provisioningCode | String | Required |
The provisioning code of the vault or mirror template for creating the new mirror or vault. |
|
| name | String | Required |
The name for the new mirror or vault. |
|
| description | String |
The description to assign to the mirror or vault. |
||
| organizationId | Long | Optional | organizationId of the person creating the mirror. | The ID of the organization for the vault. |
Response
The Manager-generated ID of the new vault or mirror is returned on success.
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.