Create a cabinet

How to create a cabinet.

Request

Security

Table 1. Roles capable of executing the Create Cabinet API method
Any Super User System Admin Security Admin Operator
  superUser systemAdmin    

HTTP method

POST /manager/api/{apiResponseType}/createCabinet.adm HTTP/1.1 HOST:{manager.dsnet} id={vaultTemplateId}

Curl method

curl -u {admin}:{password} -k “https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/createCabinet.adm” -d “name={cabinetName}&height={cabinetHeight}&siteId={siteId}”

Parameters

Table 2. Request Parameters for Create Cabinet (createCabinet) API method
Parameter Type Usage Default Description
name String Required  

Name of the cabinet to be created. Cabinet name cannot be empty and cannot match the name of a preexisting cabinet.

height Integer Required  

Height of the cabinet to be created.

siteId Long Required  

Site ID of where the cabinet to be created is to exist.

topFirstSlotOrder Boolean Optional false  
description String Optional none

a description of the cabinet to be created.