User Resources
The YouTrack REST API doesn't provide resources to work with users or groups. These entities are managed by Hub, and that's why to work with users and groups programmatically, you need to work with the Hub REST API.
For the sake of convenience, we're providing information about Hub user-related resources and endpoints here in a separate section of the YouTrack REST API.
The Hub REST API has endpoints for interacting with all other entities related to access management, including roles, permissions, and organizations. If you’re trying to work with any of these entities, please refer to the Hub REST API.
Resources
Resources for working with users:
Resources for working with groups:
Hub REST API URL
The URL for working with Hub REST API resources differs from that of YouTrack REST API.
The Hub REST API is available at the following URL:
<Hub Service URL>
is the base URL of the Hub service in your network environment.
Here are some examples of Hub REST API URLs for various YouTrack configurations:
URL | Example |
---|---|
Primary YouTrack Service URL | https://www.mycompany.com |
Hub Service URL |
or
|
Hub REST API URL |
or
|
Hub REST API URL example for getting the profile of the current user |
or
|
URL | Example |
---|---|
Primary YouTrack Service URL |
or
|
Hub Service URL |
or
|
Hub REST API URL |
or
|
Hub REST API URL example for getting the profile of the current user |
or
|