Configure provisioning API

Configure the ability for users to use the Provisioning API against IBM Cloud Object Storage Accesser® devices.

CAUTION:
The Provisioning API is not supported in Container Mode.

Request

Security

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

HTTP method

POST /manager/api/{apiResponseType}/1.0/provisioningAPIConfiguration.adm HTTP/1.1 Host:{manager.dsnet} provisioningLevel={none|createOnly|createAndDelete}

Curl method

curl -u {admin}:{password} -k ”https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/provisioningAPIConfiguration.adm“ -d ”provisioningLevel={none|createOnly|createAndDelete}“

Parameters

Table 2. Request parameters for Configure Provisioning (provisioningAPIConfiguration) API method
Parameter Type Usage Default Description
provisioningLevel String Required  

One of three options.

none- users cannot create new vaults or delete existing vaults.

createOnly - users can create new vaults by using this API, but only an administrator can delete a vault by using UI or API.

createAndDelete - users can create vaults by using this API and can delete vaults, which they own by using this API.