Configure provisioning API
Configure the ability for users to use the Provisioning API against IBM Cloud Object Storage Accesser® devices.
Request
Security
| 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
| 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. |
Response
Returns success or failure status.
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.