---
title: "Update License Template"
method: POST
path: "/licensetemplate/{licenseTemplateNumber}"
tags: ["License Template"]
---

# Update License Template

`POST /licensetemplate/{licenseTemplateNumber}`

## Request

- Base URL: `https://go.netlicensing.io/core/v2/rest`
- URL: `https://go.netlicensing.io/core/v2/rest/licensetemplate/{licenseTemplateNumber}`
- Auth: HTTP basic

Sets the provided properties to a License Template. Return an updated License Template

## Path parameters

- `licenseTemplateNumber` string, required

## Request body `application/x-www-form-urlencoded`

- object
  - `number` string: New License Template number (update).
  - `name` string: Name for the Licensed item
  - `active` boolean: If set to 'false', the License Template is disabled. Licensee can not obtain any new Licenses off this License Template.
  - `licenseType` string: Type of Licenses created from this License Template. Supported types: FEATURE, TIMEVOLUME, FLOATING, QUANTITY
  - `timeVolume` string: Mandatory for 'TIMEVOLUME' License Type.
  - `timeVolumePeriod` string: For 'TIMEVOLUME' License Type.
  - `maxSessions` string: Mandatory for 'FLOATING' License Type.
  - `price` number, double: Price for the License. If >0, it must always be accompanied by the currency specification.
  - `currency` string: Specifies currency for the License price. Check data types to discover which currencies are supported.
  - `automatic` boolean: If set to 'true', every new Licensee automatically gets one License out of this License Template on creation. Automatic Licenses must have their price set to 0.
  - `hidden` boolean: If set to 'true', this License Template is not shown in NetLicensing Shop as offered for purchase.
  - `hideLicenses` boolean: If set to 'true', Licenses from this License Template are not visible to the end customer, but participate in validation.
  - `quantity` string: Mandatory for 'Pay-per-Use' and 'Node-Locked' License Model.
  - `quota` string: Mandatory for 'Quota' License Model.

## Response `200`

Successful request

- Netlicensing
  - `infos` Infos
  - `items` Items

## Other responses

- `400`: Malformed or illegal request
- `403`: Access is denied
- `404`: Resource not found
- `500`: Internal service error

---

[API](https://skmtc.dev/labs64/apis/labs64-netlicensing-restful-api-test-center.md) - [All operations](https://skmtc.dev/labs64/apis/labs64-netlicensing-restful-api-test-center/llms.txt) - [OpenAPI document](https://skmtc.dev/labs64/apis/labs64-netlicensing-restful-api-test-center/revisions/32bb94715eca?raw)
