---
title: "Set locale"
method: PUT
path: "/rest/api/3/mypreferences/locale"
tags: ["Myself"]
deprecated: true
---

# Set locale

`PUT /rest/api/3/mypreferences/locale`

## Request

- Base URL: `https://your-domain.atlassian.net`
- URL: `https://your-domain.atlassian.net/rest/api/3/mypreferences/locale`
- Auth: HTTP basic

> **Deprecated.**

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.

## Request body

- Locale: Details of a locale.
  - `locale` string: The locale code. The Java the locale format is used: a two character language code (ISO 639), an underscore, and two letter country code (ISO 3166). For example, en\_US represents a locale of English (United States). Required on create.

## Response `204`

Returned if the request is successful.

- unknown

## Other responses

- `400`: Returned if request is invalid.
- `401`: Returned if the authentication credentials are incorrect or missing.

---

[API](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api-2.md) - [All operations](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api-2/revisions/f22db3da5feb?raw)
