Changes user's password
Forge and OAuth2 apps cannot access this REST resource.
string
string
string
the operation succeeded and password was changed
1
2
3
4
5
6
7
8
curl --request POST \
--url 'http://{baseurl}/rest/rest/account/1/change-password' \
--header 'Content-Type: application/json' \
--data '{
"newPassword": "<string>",
"oldPassword": "<string>",
"username": "<string>"
}'Starts the procedure for forgotten password
Forge and OAuth2 apps cannot access this REST resource.
string
the operation succeeded or some error occurred, but for security reasons it won't be revealed
1
2
curl --request POST \
--url 'http://{baseurl}/rest/rest/account/1/forgotten-password'Starts the procedure for forgotten username
Forge and OAuth2 apps cannot access this REST resource.
string
the operation succeeded or some error occurred, but for security reasons it won't be revealed
1
2
curl --request POST \
--url 'http://{baseurl}/rest/rest/account/1/forgotten-username'Resets user's forgotten password
Forge and OAuth2 apps cannot access this REST resource.
integer
string
string
string
the operation succeeded and password was reset
1
2
3
4
5
6
7
8
9
curl --request POST \
--url 'http://{baseurl}/rest/rest/account/1/reset-password' \
--header 'Content-Type: application/json' \
--data '{
"directoryId": 2154,
"password": "<string>",
"token": "<string>",
"username": "<string>"
}'Checks whether user's reset token is still valid
Forge and OAuth2 apps cannot access this REST resource.
token to check for validity
integer
string
string
the operation succeeded and token validity was retrieved
1
2
3
4
5
6
7
8
curl --request POST \
--url 'http://{baseurl}/rest/rest/account/1/token-status' \
--header 'Content-Type: application/json' \
--data '{
"directoryId": 2154,
"token": "<string>",
"username": "<string>"
}'Rate this page: