v5

latestOpenAPI 3.0.1Apache 2.02026-08-046169702.3 MB
Myself

Set locale

Deprecated, use Update a user profile 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 required: Permission to access Jira.

put/rest/api/3/mypreferences/locale

Request body

localestring

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

Returned if the request is successful.

{"stackTrail":"paths:/rest/api/3/mypreferences/locale:put:responses:204:content:application/json:schema","oasType":"schema","type":"unknown"}