37 lines
943 B
Markdown
37 lines
943 B
Markdown
### user-edit
|
|
|
|
#### POST /user/10/edit
|
|
> `Content-Type: application/json`
|
|
>
|
|
> `{ "dept": "TAPI", "nom": "alain2", "prenom": "bruno2", "active": false }`
|
|
|
|
```json
|
|
{
|
|
"active": false,
|
|
"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",
|
|
"date_expiration": null,
|
|
"date_modif_passwd": "2022-08-20T12:00:00.000000+02:00",
|
|
"dept": "TAPI",
|
|
"email": "",
|
|
"email_institutionnel": "",
|
|
"id": 10,
|
|
"last_seen": "2022-08-20T12:00:00.000000+02:00",
|
|
"nom": "alain2",
|
|
"nom_fmt": "Alain2",
|
|
"nomcomplet": "Bruno2 Alain2",
|
|
"nomplogin": "ALAIN2 Bruno2 (lecteur_api)",
|
|
"nomprenom": "Alain2 B.",
|
|
"prenom": "bruno2",
|
|
"prenom_fmt": "Bruno2",
|
|
"prenomnom": "B. Alain2",
|
|
"roles_string": "LecteurAPI_, LecteurAPI_",
|
|
"status_txt": "ferm\u00e9",
|
|
"user_name": "lecteur_api"
|
|
}
|
|
```
|
|
|