Returns currently logged user. This resource cannot be accessed anonymously
This request has no parameters.
Returns a full representation of a Jira user in JSON format.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/myself' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Modify currently logged user. The 'value' fields present will override the existing value. Fields skipped in request will not be changed. Only email and display name can be change that way. Requires user password.
The new user details to be set.
boolean
array<string>
string
string
string
string
string
string
string
Confirmation that the user was updated.
1
2
3
4
5
curl --request PUT \
--url 'http://{baseurl}/rest/api/2/myself' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Modify caller password.
The new password to be set.
string
string
Confirmation that the password was changed.
1
2
3
4
curl --request PUT \
--url 'http://{baseurl}/rest/api/2/myself/password' \
--user 'email@example.com:<api_token>' \
--header 'Content-Type: application/json'