2022-08-13 19:29:08 +02:00
|
|
|
### user-edit
|
|
|
|
|
|
|
|
#### POST /user/10/edit
|
|
|
|
> `Content-Type: application/json`
|
|
|
|
>
|
|
|
|
> `{ "dept": "TAPI", "nom": "alain2", "prenom": "bruno2", "active": false }`
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
2022-08-21 12:13:57 +02:00
|
|
|
"active": false,
|
|
|
|
"date_created": "2022-08-20T12:00:00.000000+02:00",
|
2022-08-13 19:29:08 +02:00
|
|
|
"date_expiration": null,
|
2022-08-21 12:13:57 +02:00
|
|
|
"date_modif_passwd": "2022-08-20T12:00:00.000000+02:00",
|
2022-08-13 19:29:08 +02:00
|
|
|
"dept": "TAPI",
|
2022-08-21 12:13:57 +02:00
|
|
|
"email": "",
|
2022-08-13 19:29:08 +02:00
|
|
|
"id": 10,
|
2022-08-21 12:13:57 +02:00
|
|
|
"last_seen": "2022-08-20T12:00:00.000000+02:00",
|
2022-08-13 19:29:08 +02:00
|
|
|
"nom": "alain2",
|
|
|
|
"nom_fmt": "Alain2",
|
2022-08-21 12:13:57 +02:00
|
|
|
"nomcomplet": "Bruno2 Alain2",
|
2022-12-27 09:54:58 +01:00
|
|
|
"nomplogin": "ALAIN2 Bruno2 (lecteur_api)",
|
2022-08-13 19:29:08 +02:00
|
|
|
"nomprenom": "Alain2 B.",
|
2022-08-21 12:13:57 +02:00
|
|
|
"prenom": "bruno2",
|
|
|
|
"prenom_fmt": "Bruno2",
|
2022-08-13 19:29:08 +02:00
|
|
|
"prenomnom": "B. Alain2",
|
2022-12-27 09:54:58 +01:00
|
|
|
"roles_string": "LecteurAPI_,LecteurAPI_",
|
2022-08-21 12:13:57 +02:00
|
|
|
"status_txt": "ferm\u00e9",
|
2022-12-27 09:54:58 +01:00
|
|
|
"user_name": "lecteur_api"
|
2022-08-13 19:29:08 +02:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|