Set the system default template
Sets the system default template. Returns success or failure status.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | securityAdmin |
Curl method
curl -X POST -u admin:password --header ”Content-Type:
application/x-www-form-urlencoded“ --header ”Accept: application/json“ -k
'https://192.168.25.14/manager/api/json/1.0/editDefaultProvisioningTemplate.adm' -d
'templateId=1'
Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| templateId |
The ID of the vault template that should be the default in the Manager. |
|||
| templateType |
The type of the template that should be the default in the Manager. |
|||
| storagePoolGroupId |
The Storage Pool on which the vault template should be created. |
Response
Returns success or failure status.
JSON response example
{
”responseStatus“: ”ok“,
”responseHeader“: {
”status“: ”ok“,
”now“: 1399577922741,
”requestId“: ”U2vdQsCoDkMAACkJCP0AAAAI“
},
”responseData“: {}
}