The password of the current user.
Should match the password
field.
--
The access token acts as a password for each request.
The client token is used to identify device (browser client, phone, tablet, etc) of the current session. This allows us to maintain multiple concurrent sessions across devices / browsers.
The unique identifier for the current user.
--
access-token: bgINB4atOxd8SMNvtOTDxg
client: V7EN7LSRYAbpE_-c5PvRSw
uid: [email protected]
--
This be an object containing a success message that will be displayed to the user.
Will always be true
.
This object will contain the message attribute.
A success message that will be displayed to the user
--
{
"success": true,
"data": {
"message": "Your password has been successfully updated."
}
}
--
The respones to this request should contain updated auth credentials that will be used in any subsequent request to the API.
The access token acts as a password for each request. Upon successful token validation, a new token will be issued and returned with the response. The previous token will be invalidated, and this new token should be used for the subsequent request to the API.
The client token is used to identify device (browser client, phone, tablet, etc) of the current session. This allows us to maintain multiple concurrent sessions across devices / browsers.
The time at which the token will expire.
The unique identifier for the current user.
--
access-token: bgINB4atOxd8SMNvtOTDxg
client: V7EN7LSRYAbpE_-c5PvRSw
expiry: 1450988710
uid: [email protected]
--
This will be an array containing any errors that the server encountered in processing the request.
Will always be false
.
An object containing keys for each field that has errors. The values of each key will be an array of errors for the given field.
An additional attribute called full_messages
is sometimes used to display errors that don't correspond to a specific field.
--
{
"success":false,
"errors": {
"password_confirmation": ["doesn't match Password"],
"password":["is too short (minimum is 8 characters)"],
"full_messages":["Miscellaneous fatal error. Please try again."]
}
}
--
None. The client won't care about any headers for this response.