Operations with Specific License
This resource lets you work with the license of your YouTrack service.
Resource | /api/admin/globalSettings/license |
Returned entity | License. For the description of the entity attributes, see Supported Fields section. |
Supported methods |
|
License attributes
Represents the current license of the YouTrack service.
This table describes attributes of the License
entity.
To receive an attribute in the response from server, specify it explicitly in the request parameter
fields
.To update an attribute, provide it in the body of a POST request.
Field | Type | Description |
---|---|---|
username | String | Username used for license. |
license | String | License key. |
error | String | License error. If there is no error, this property is empty. |
Read a Specific License
Read the license of your YouTrack service.
Request syntax
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of License attributes that should be returned in the response. If no field is specified,only the |
Sample
Sample request URI
Sample response body
Update a Specific License
Change the license of your YouTrack service.
Required permissions
Requires Low-level Admin Write permission.
Request syntax
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of License attributes that should be returned in the response. If no field is specified,only the |