DocScoDoc/docs/samples/sample_user-edit.json.md

32 lines
745 B
Markdown
Raw Normal View History

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
{
"date_expiration": null,
"date_modif_passwd": "2022-08-19T09:29:19.775361Z",
"date_created": "2022-08-19T09:29:19.775364Z",
2022-08-13 19:29:08 +02:00
"dept": "TAPI",
"id": 10,
"active": false,
"status_txt": "ferm\u00e9",
"last_seen": "2022-08-19T09:29:19.775354Z",
2022-08-13 19:29:08 +02:00
"nom": "alain2",
"prenom": "bruno2",
"roles_string": "",
"user_name": "alain",
"nom_fmt": "Alain2",
"prenom_fmt": "Bruno2",
"nomprenom": "Alain2 B.",
"prenomnom": "B. Alain2",
"nomplogin": "ALAIN2 Bruno2 (alain)",
"nomcomplet": "Bruno2 Alain2",
"email": ""
}
```