Change password
Changed onChange password of current user.
Due to security reasons, user passwords cannot be set directly using the standard CRUD operations. Instead, the following endpoints can be used for resetting and changing passwords.
Password requirements:
- Length: 12–64 characters
- May not be similar to username
- May not contain common words
- May not be numeric only
- Must pass complexity check
Request
- Base URLhttps://example.rossum.app
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
OK
Example response
{
"id": 10775,
"url": "https://example.rossum.app/api/v1/users/10775",
"first_name": "John",
"last_name": "Doe",
"email": "john-doe@east-west-trading.com",
"phone_number": "+1-212-456-7890",
"date_joined": "2018-09-19T13:44:56.000000Z",
"username": "john-doe@east-west-trading.com",
"groups": [
"https://example.rossum.app/api/v1/groups/3"
],
"organization": "https://example.rossum.app/api/v1/organizations/406",
"queues": [
"https://example.rossum.app/api/v1/queues/8199"
],
"is_active": true,
"last_login": "2019-02-07T16:20:18.652253Z",
"ui_settings": {},
"metadata": {
"some_key": "some_value"
},
"auth_type": "password"
}Changes
- breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added
subschema #2to the response bodyallOflist for the response status - info
removed the optional write-only property
passwordfrom the response with the status
- breaking