2022-08-13 19:29:08 +02:00
|
|
|
### user-role-add
|
|
|
|
|
|
|
|
#### POST /user/10/role/Observateur/add
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"date_expiration": null,
|
2022-08-19 11:47:13 +02:00
|
|
|
"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",
|
2022-08-19 11:47:13 +02:00
|
|
|
"last_seen": "2022-08-19T09:29:19.775354Z",
|
2022-08-13 19:29:08 +02:00
|
|
|
"nom": "alain2",
|
|
|
|
"prenom": "bruno2",
|
|
|
|
"roles_string": "Observateur_",
|
|
|
|
"user_name": "alain",
|
|
|
|
"nom_fmt": "Alain2",
|
|
|
|
"prenom_fmt": "Bruno2",
|
|
|
|
"nomprenom": "Alain2 B.",
|
|
|
|
"prenomnom": "B. Alain2",
|
|
|
|
"nomplogin": "ALAIN2 Bruno2 (alain)",
|
|
|
|
"nomcomplet": "Bruno2 Alain2",
|
|
|
|
"email": ""
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|