Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Update user preference

Sets preference of the currently logged in user. Preference key must be provided as input parameters (key). Value must be provided as post body. If key or value parameter is not provided - status code 404. If preference is set - status code 204.

PUT/api/2/mypreferences
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Query parameters
keystring

Key of the preference to be set.

Request body
application/json
string
Responses
204

Confirmation that the preference was set.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PUT 'http://jira.example.com/rest/api/2/mypreferences' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Content-Type: application/json' \
  -d '"string"'
Response
Confirmation that the preference was set.

Was this page helpful?