Change the password for the current user.
Validation Rules:
Example request URI(s):
http://example.com/confluence/rest/api/user/current/password
password change details
string
string
returned if the password changed successfully.
1
2
3
4
5
6
7
curl --request POST \
--url 'http://{baseurl}/confluence/rest/api/user/current/password' \
--header 'Content-Type: application/json' \
--data '{
"oldPassword": "oldPassword",
"newPassword": "newPassword"
}'
Get information about how anonymous is represented in Confluence. Example request URI(s):
http://example.com/confluence/rest/api/user/anonymous
string
Returns a full JSON representation of a user.
1
2
3
curl --request GET \
--url 'http://{baseurl}/confluence/rest/api/user/anonymous' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
{
"profilePicture": {
"path": "http://www.example.com/path/to/image.png",
"width": 16,
"height": 16,
"isDefault": true
},
"displayName": "Joe Smith",
"type": "<string>"
}
Get information about the current logged in user. Example request URI(s):
http://example.com/confluence/rest/api/user/current
string
Returns a full JSON representation of a user.
1
2
3
curl --request GET \
--url 'http://{baseurl}/confluence/rest/api/user/current' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
{
"profilePicture": {
"path": "http://www.example.com/path/to/image.png",
"width": 16,
"height": 16,
"isDefault": true
},
"displayName": "Joe Smith",
"type": "<string>"
}
Change the current user's details.
Validation Rules:
Example PUT request URI(s):
http://example.com/confluence/rest/api/user/current
User details
string
string
string
Returned if the update was successful.
1
2
3
4
5
6
7
8
curl --request PUT \
--url 'http://{baseurl}/confluence/rest/api/user/current' \
--header 'Content-Type: application/json' \
--data '{
"fullName": "Some User",
"email": "someuser@someemail.com",
"currentPassword": "password"
}'
Get a paginated collection of groups that the given user is a member of. Example request URI(s):
http://example.com/confluence/rest/api/user/memberof?username=jblogs
http://example.com/confluence/rest/api/user/memberof?key=402880824ff933a4014ff9345d7c0002
string
string
string
string
string
Returns a full JSON representation of a user.
1
2
3
curl --request GET \
--url 'http://{baseurl}/confluence/rest/api/user/memberof' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"results": [
{
"profilePicture": {
"path": "http://www.example.com/path/to/image.png",
"width": 16,
"height": 16,
"isDefault": true
},
"displayName": "Joe Smith",
"type": "<string>"
}
],
"totalCount": 2154,
"start": 25,
"limit": 25,
"size": 25,
"_links": {
"base": "http://localhost:8085/confluence",
"context": "confluence",
"self": "http://localhost:8085/rest/api/latest/..?limit=25&start=25",
"next": "http://localhost:8085/rest/api/latest/..?limit=25&start=50",
"prev": "http://localhost:8085/rest/api/latest/..?limit=25&start=0"
}
}
Get information about a user identified by either user key or username. Example request URI(s):
http://example.com/confluence/rest/api/user?username=jblogs
http://example.com/confluence/rest/api/user?key=402880824ff933a4014ff9345d7c0002
string
string
string
Returns a full JSON representation of a user
1
2
3
curl --request GET \
--url 'http://{baseurl}/confluence/rest/api/user' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
{
"profilePicture": {
"path": "http://www.example.com/path/to/image.png",
"width": 16,
"height": 16,
"isDefault": true
},
"displayName": "Joe Smith",
"type": "<string>"
}
Gets a paginated collection of all registered users, including but not limited to:
Example request URI(s):
http://example.com/confluence/rest/api/user/list
http://example.com/confluence/rest/api/user/list?start=0
http://example.com/confluence/rest/api/user/list?start=0&limit=100
http://example.com/confluence/rest/api/user/list?start=0&limit=100&expand=status
string
string
string
returns a paginated collection of users.
1
2
3
curl --request GET \
--url 'http://{baseurl}/confluence/rest/api/user/list' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"results": [
{
"profilePicture": {
"path": "http://www.example.com/path/to/image.png",
"width": 16,
"height": 16,
"isDefault": true
},
"displayName": "Joe Smith",
"type": "<string>"
}
],
"totalCount": 2154,
"start": 25,
"limit": 25,
"size": 25,
"_links": {
"base": "http://localhost:8085/confluence",
"context": "confluence",
"self": "http://localhost:8085/rest/api/latest/..?limit=25&start=25",
"next": "http://localhost:8085/rest/api/latest/..?limit=25&start=50",
"prev": "http://localhost:8085/rest/api/latest/..?limit=25&start=0"
}
}
Rate this page: