{
"opencollection": "1.0.0",
"info": {
"name": "Atlassian Admin Account Myself API",
"version": "1.0.0"
},
"request": {
"auth": {
"type": "bearer",
"token": "{{bearerToken}}"
}
},
"items": [
{
"info": {
"name": "Myself",
"type": "folder"
},
"items": [
{
"info": {
"name": "Atlassian Get Locale",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/rest/api/3/mypreferences/locale"
},
"docs": "Returns the locale for the user.
If the user has no language preference set (which is the default setting) or this resource is accessed anonymous, the browser locale detected by Jira is returned. Jira detects the browser locale using the *Accept-Language* header in the request. However, if this doesn't match a locale available Jira, the site default locale is returned.
This operation can be accessed anonymously.
**[Permissions](#permissions) required:** None."
},
{
"info": {
"name": "Atlassian Set Locale",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.atlassian.com/rest/api/3/mypreferences/locale",
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Deprecated, use [ Update a user profile](https://developer.atlassian.com/cloud/admin/user-management/rest/#api-users-account-id-manage-profile-patch) from the user management REST API instead.
Sets the locale of the user. The locale must be one supported by the instance of Jira.
**[Permissions](#permissions) required:** Permission to access Jira."
},
{
"info": {
"name": "Atlassian Delete Locale",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.atlassian.com/rest/api/3/mypreferences/locale"
},
"docs": "Deprecated, use [ Update a user profile](https://developer.atlassian.com/cloud/admin/user-management/rest/#api-users-account-id-manage-profile-patch) from the user management REST API instead.
Deletes the locale of the user, which restores the default setting.
**[Permissions](#permissions) required:** Permission to access Jira."
},
{
"info": {
"name": "Atlassian Get Preference",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/rest/api/3/mypreferences",
"params": [
{
"name": "key",
"value": "",
"type": "query",
"description": "The key of the preference."
}
]
},
"docs": "Returns the value of a preference of the current user.
Note that these keys are deprecated:
* *jira.user.locale* The locale of the user. By default this is not set and the user takes the locale of the instance.
* *jira.user.timezone* The time zone of the user. By default this is not set and the user takes the timezone of the instance.
These system preferences keys will be deprecated by 15/07/2024. You can still retrieve these keys, but it will not have any impact on N"
},
{
"info": {
"name": "Atlassian Set Preference",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.atlassian.com/rest/api/3/mypreferences",
"params": [
{
"name": "key",
"value": "",
"type": "query",
"description": "The key of the preference. The maximum length is 255 characters."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Creates a preference for the user or updates a preference's value by sending a plain text string. For example, `false`. An arbitrary preference can be created with the value containing up to 255 characters. In addition, the following keys define system preferences that can be set or created:
* *user.notifications.mimetype* The mime type used in notifications sent to the user. Defaults to `html`.
* *user.default.share.private* Whether new [ filters](https://confluence.atlassian.com/"
},
{
"info": {
"name": "Atlassian Delete Preference",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.atlassian.com/rest/api/3/mypreferences",
"params": [
{
"name": "key",
"value": "",
"type": "query",
"description": "The key of the preference."
}
]
},
"docs": "Deletes a preference of the user, which restores the default value of system defined settings.
Note that these keys are deprecated:
* *jira.user.locale* The locale of the user. By default, not set. The user takes the instance locale.
* *jira.user.timezone* The time zone of the user. By default, not set. The user takes the instance timezone.
Use [ Update a user profile](https://developer.atlassian.com/cloud/admin/user-management/rest/#api-users-account-id-manage-profil"
},
{
"info": {
"name": "Atlassian Get Current User",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/rest/api/3/myself",
"params": [
{
"name": "expand",
"value": "",
"type": "query",
"description": "Use [expand](#expansion) to include additional information about user in the response. This parameter accepts a comma-separated list. Expand options include:\n\n * `groups` Returns all groups, including nested groups, the user belongs to.\n * `applicationRoles` Returns the application roles the user is assigned to."
}
]
},
"docs": "Returns details for the current user.
**[Permissions](#permissions) required:** Permission to access Jira."
}
]
}
],
"bundled": true
}