---
schema: rendered-html/v1
title: "Operations with Specific License | Developer Portal for YouTrack and Hub Documentation"
source_url: https://www.jetbrains.com/help/youtrack/devportal/operations-api-admin-globalSettings-license.html
generated_at: 2026-06-11T15:04:30.390989+00:00
---

Feedback

Thanks for your feedback!

Was this page helpful?

YesNo

Developer Portal for YouTrack and Hub

- Developer Portal
- Apps
- MCP Tools
- YouTrack Workflows
- YouTrack Import Scripts
- YouTrack Form API
- YouTrack REST API
- Get Started with REST API
- REST API Reference
- Entities
- Resources
- Activity Items
- Issue Activities Page
- Build Bundles
- Enum Bundles
- Owned Bundles
- State Bundles
- User Bundles
- Version Bundles
- Custom Fields
- Field Types
- Backup Files
- Database Backup Settings
- Global Settings
- Operations with Specific GlobalSettings
- Sub-resources
- Appearance Settings
- License
- [Operations with Specific License](operations-api-admin-globalSettings-license.html)
- Locale Settings
- Notification Settings
- Rest Cors Settings
- System Settings
- Organizations
- Projects
- Telemetry data
- Global Time Tracking Settings
- Agiles
- Articles
- Assigned Roles
- Commands
- Command Suggestions
- User Groups
- Issue Link Types
- Issue Tag
- Issues
- Issue Count
- Permissions
- Roles
- Saved Queries
- Search Suggestions
- Tags
- Users
- My User Profile
- Issue Work Items
- REST API Use Cases
- REST API Troubleshooting
- Color Indices List
- Hub REST API

1. YouTrack REST API
2. REST API Reference
3. Resources
4. Global Settings
5. [Sub-resources](#0)
6. License
7. [Operations with Specific License](#0)

# Operations with Specific License﻿

Last modified: 24 March 2026

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](/help/youtrack/devportal/operations-api-admin-globalSettings-license.html#License-supported-fields) section. |
| Supported methods | - `GET`: [Read a Specific License](/help/youtrack/devportal/operations-api-admin-globalSettings-license.html#get-License-method). - `POST`: [Update a Specific License](/help/youtrack/devportal/operations-api-admin-globalSettings-license.html#update-License-method). |

## 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`. |

## Read a Specific License﻿

Read the license of your YouTrack service.

### Request syntax﻿

```
GET /api/admin/globalSettings/license?{fields}
```

| null | The database ID of License |
| --- | --- |

### 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 `entityID` is returned. |

### Sample﻿

#### Sample request﻿

```
https://example.youtrack.cloud/api/admin/globalSettings/license?fields=username,license,error
```

#### Sample response body﻿

```
{
  "username": "example",
  "license": "17269e7714ee93dec5002a17427b55f3126a37635d9a41349ffb02dfc0b1bd7b167dcb56232813da571653c087bb2e1ff9325e4775d494c2f99eab72100d1e90cf7532d8f4e721b27521d107fb3f62",
  "error": null,
  "$type": "License"
}
```

## Update a Specific License﻿

Change the license of your YouTrack service.

### Required permissions﻿

Requires permissions: Low-level Admin Write

### Request syntax﻿

```
POST /api/admin/globalSettings/license?{fields}
```

| null | The database ID of License |
| --- | --- |

### 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 `entityID` is returned. |

### Sample﻿

#### Sample request﻿

```
https://example.youtrack.cloud/api/admin/globalSettings/license?fields=username,license,error
```

#### Sample request body﻿

```
{
  "username": "sample",
  "license": "17269e7714ee93dec5002a17427b55f3126a37635d9a49325e4775d494c2f99eab72100d1e90cf7532d8f4e721b27521d107fb3f62"
}
```

#### Sample response body﻿

```
{
  "username": "sample",
  "license": "17269e7714ee93dec5002a17427b55f3126a37635d9a49325e4775d494c2f99eab72100d1e90cf7532d8f4e721b27521d107fb3f62",
  "error": null,
  "$type": "License"
}
```

- [Operations with Specific License](/help/youtrack/devportal/operations-api-admin-globalSettings-license.html)
- [License attributes](/help/youtrack/devportal/operations-api-admin-globalSettings-license.html#License-supported-fields)
- [Read a Specific License](/help/youtrack/devportal/operations-api-admin-globalSettings-license.html#get-License-method)
- [Update a Specific License](/help/youtrack/devportal/operations-api-admin-globalSettings-license.html#update-License-method)

LicenseLocale Settings

- Privacy & Security
- Terms Of Use
- Trademarks
- Legal

Copyright © 2000–2026 JetBrains s.r.o.

![](https://bat.bing.com/action/0?ti=5220035&tm=gtm002&Ver=2&mid=0ea1eec3-6628-4403-b548-be9b6eb8fa8c&bo=4&sid=452929b065a111f19a7fe7356f74a419&vid=aa3122f0648711f1a10d6d095e10fd87&vids=0&msclkid=N&pi=918639831&lg=en-US&sw=1920&sh=1080&sc=24&tl=Operations%20with%20Specific%20License%20%7C%20Developer%20Portal%20for%20YouTrack%20and%20Hub%20Documentation&p=https%3A%2F%2Fwww.jetbrains.com%2Fhelp%2Fyoutrack%2Fdevportal%2Foperations-api-admin-globalSettings-license.html&r=&lt=648&pt=1781190267376,55,55,,,3,3,3,3,3,,3,35,35,59,246,246,246,647,648,648&pn=0,0&evt=pageLoad&sv=2&asc=G&cdb=AQAS&rn=58792)

![](https://crawler.prototype.prolicht.digital/l/RIMswT)![](https://crawler.prototype.prolicht.digital/l/P2ZHjb)
