PUT https://{hostname}:{port}
/cli/resourceTemplate/update
Accept: application/json
| Parameter | Type | Required | Description |
|---|---|---|---|
| Accept | application/json | true |
{
"description": "Description",
"existingId": "ID of resource template; leave blank when
creating new template",
"name": "Name for the resource template",
"rootTeamMappings": "Array of UCD team ids; if not
specified, no teams will be mapped to Root Resource;
format: [ {teamId: '<ID-of-team-1>'}, {teamId: '<ID-of-
team-2>'}, ... ]; (Optional)",
"teamMappings": "Array of UCD team ids; if not
specified, no teams will be mapped to Template; format: [
{teamId: '<ID-of-team-1>'}, {teamId: '<ID-of-team-2>'},
... ]; (Optional)"
}
Related CLI command: updateResourceTemplate.