2022-08-21 12:13:57 +02:00
|
|
|
### user-password
|
|
|
|
|
|
|
|
#### POST /user/3/password
|
|
|
|
> `Content-Type: application/json`
|
|
|
|
>
|
|
|
|
> `{ "password": "rePlaCemeNT456averylongandcomplicated" }`
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"active": true,
|
|
|
|
"date_created": "2022-08-20T12:00:00.000000+02:00",
|
|
|
|
"date_expiration": null,
|
|
|
|
"date_modif_passwd": "2022-08-20T12:00:00.000000+02:00",
|
|
|
|
"dept": "TAPI",
|
|
|
|
"email": "",
|
|
|
|
"id": 3,
|
|
|
|
"last_seen": "2022-08-20T12:00:00.000000+02:00",
|
|
|
|
"nom": "Sans",
|
|
|
|
"nom_fmt": "Sans",
|
|
|
|
"nomcomplet": "Permission Sans",
|
|
|
|
"nomplogin": "SANS Permission (other)",
|
|
|
|
"nomprenom": "Sans P.",
|
|
|
|
"prenom": "Permission",
|
|
|
|
"prenom_fmt": "Permission",
|
|
|
|
"prenomnom": "P. Sans",
|
|
|
|
"roles_string": "",
|
|
|
|
"status_txt": "actif",
|
|
|
|
"user_name": "other"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2022-12-27 09:54:58 +01:00
|
|
|
#### POST /user/3/password
|
|
|
|
> `Content-Type: application/json`
|
|
|
|
>
|
|
|
|
> `{ "password": "too_simple" }`
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"active": true,
|
|
|
|
"date_created": "2022-08-20T12:00:00.000000+02:00",
|
|
|
|
"date_expiration": null,
|
|
|
|
"date_modif_passwd": "2022-08-20T12:00:00.000000+02:00",
|
|
|
|
"dept": "TAPI",
|
|
|
|
"email": "",
|
|
|
|
"id": 3,
|
|
|
|
"last_seen": "2022-08-20T12:00:00.000000+02:00",
|
|
|
|
"nom": "Sans",
|
|
|
|
"nom_fmt": "Sans",
|
|
|
|
"nomcomplet": "Permission Sans",
|
|
|
|
"nomplogin": "SANS Permission (other)",
|
|
|
|
"nomprenom": "Sans P.",
|
|
|
|
"prenom": "Permission",
|
|
|
|
"prenom_fmt": "Permission",
|
|
|
|
"prenomnom": "P. Sans",
|
|
|
|
"roles_string": "",
|
|
|
|
"status_txt": "actif",
|
|
|
|
"user_name": "other"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|