Update a template
Update a template. The adminBasic or adminAdvanced privilege is required.
Request:
Parameter | Description | Data Type |
---|---|---|
templateId | Required. The ID of the template to be updated. | String |
templateType | Required. The type of the template to be updated. | String |
Body:
Parameter | Description | Data Type |
---|---|---|
templateName | Required. The new name to give the template. | String |
templateDetails | Required. The new information to store in the template. | String |
Body parameter
{
"templateId": "string",
"templateName": "string",
"templateDetails": "string"
}
Query parameters
Name | Type | Required |
---|---|---|
|
|
Path parameters
Name | Type | Required |
---|---|---|
|
| |
|
| |
|
| |
|
|
Examples
Request
# You can also use wget
curl -X PUT /{orgId}/{itemId}/templates/{templateType}/{templateId} \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Response
200 Response
{
"success": true
}
Status | Meaning | Description | Schema |
---|---|---|---|
| success | ||
| Invalid Template | ||
| error |