# License

This resource lets you work with the license of your YouTrack service.
|  Resource  |     ```GENERIC /api/admin/globalSettings/license ```    |
| --- | --- |
|  Returned entity  |  [License](api-entity-License.html). For the description of the entity attributes, see [Supported Fields](#License-supported-fields) section.  |

## License attributes

Represents the current license of the YouTrack service.

### Related Resources

Below you can find the list of resources that let you work with this entity.

* [License]()

### Attributes

This table describes attributes of the `License` entity.

* To receive an attribute in the response from the server, specify it explicitly in the `fields` request parameter.

* To update an attribute, provide it in the body of a POST request.

|  Field  |  Type  |  Description  |
| --- | --- | --- |
|  id  |  String  |  The ID of the license. `Read-only`.  |
|  username  |  String  |  Username used for license. `Can be null`.  |
|  license  |  String  |  License key. `Can be null`.  |
|  error  |  String  |  License error. If there is no error, this property is empty. `Read-only`. `Can be null`.  |

