DocAssiduites/docs/samples/sample_user_password.json.md

38 lines
912 B
Markdown
Raw Normal View History

2024-07-27 13:34:32 +02:00
### user_password
2022-08-13 19:29:08 +02:00
2024-07-27 13:34:32 +02:00
#### POST /user/3/password
2022-08-13 19:29:08 +02:00
> `Content-Type: application/json`
>
2024-07-27 13:34:32 +02:00
> `{"password" : "rePlaCemeNT456averylongandcomplicated"}`
2022-08-13 19:29:08 +02:00
```json
{
"active": true,
2023-05-11 17:08:35 +02:00
"cas_allow_login": false,
"cas_allow_scodoc_login": false,
"cas_id": null,
"cas_last_login": null,
"date_created": "2022-08-20T12:00:00.000000+02:00",
2022-08-13 19:29:08 +02:00
"date_expiration": null,
"date_modif_passwd": "2022-08-20T12:00:00.000000+02:00",
2024-07-27 13:34:32 +02:00
"dept": "TAPI",
"edt_id": null,
"email": "",
2023-05-11 17:08:35 +02:00
"email_institutionnel": "",
2024-07-27 13:34:32 +02:00
"id": 3,
"last_seen": "2022-08-20T12:00:00.000000+02:00",
2024-07-27 13:34:32 +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",
2024-07-27 13:34:32 +02:00
"user_name": "other"
2022-08-13 19:29:08 +02:00
}
```