---
title: "Update License"
method: POST
path: "/license/{licenseNumber}"
tags: ["License"]
---

# Update License

`POST /license/{licenseNumber}`

## Request

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

Update License by a 'licenseNumber'

## Path parameters

- `licenseNumber` string, required

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

- object
  - `number` string: Unique number (across all Products/Licensees of a Vendor) that identifies the License. Vendor can assign this number when creating a License or let NetLicensing generate one. Read-only after corresponding creation Transaction status is set to closed.
  - `active` boolean
  - `name` string: Name for the Licensed item. Set from License Template on creation, if not specified explicitly.
  - `startDate` string, date-time: For 'TIMEVOLUME' License type
  - `parentfeature` string
  - `timeVolume` string: Mandatory for 'TIMEVOLUME' License Type.
  - `timeVolumePeriod` string: For 'TIMEVOLUME' License Type.
  - `price` number, double: Price for the License. If > 0, it must always be accompanied by the currency specification. Read-only, set from License Template on creation
  - `currency` string: Specifies currency for the License price. Check data types to discover which currencies are supported. Read-only, set from License Template on creation
  - `hidden` boolean: If set to 'true', this License is not shown in NetLicensing Shop as purchased License. Set from License Template on creation, if not specified explicitly
  - `quantity` string: Mandatory for 'Pay-per-Use' License Model.
  - `usedQuantity` string: Mandatory for 'Pay-per-Use' 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)
