Operations with Specific GeneralUserProfile
This resource lets you read and update general settings in the YouTrack profile of the specified user.
Resource | /api/users/{userID}/profiles/general |
Returned entity | GeneralUserProfile. For the description of the entity attributes, see Supported Fields section. |
Supported methods |
GeneralUserProfile attributes
Represents the user profile in YouTrack.
This table describes attributes of the GeneralUserProfile
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 |
---|---|---|
dateFieldFormat | DateFormatDescriptor | Format in which dates are shown to this user. |
timezone | TimeZoneDescriptor | Timezone of the user. |
locale | LocaleDescriptor | Personal locale selected by the user. |
Read a Specific GeneralUserProfile
Get profile with general settings of the user's profile.
Required permissions
Requires Read Self to read own profile and Read User Full to read profile of another user.
Request syntax
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of GeneralUserProfile attributes that should be returned in the response. If no field is specified,only the |
Sample
Sample request
Sample response body
Update a Specific GeneralUserProfile
Change settings in the specific user profile.
Required permissions
Requires Update Self to update own profile and Update User to update profile of another user.
Request syntax
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of GeneralUserProfile attributes that should be returned in the response. If no field is specified,only the |
Sample
Let's change the time zone for the specific user.