1
0
forked from ScoDoc/DocScoDoc
DocScoDoc/docs/samples/sample_user-role-add.json.md

33 lines
860 B
Markdown
Raw Normal View History

2022-08-13 19:29:08 +02:00
### user-role-add
#### POST /user/10/role/Observateur/add
```json
{
"active": false,
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",
2022-08-13 19:29:08 +02:00
"dept": "TAPI",
"email": "",
2023-05-11 17:08:35 +02:00
"email_institutionnel": "",
2022-08-13 19:29:08 +02:00
"id": 10,
"last_seen": "2022-08-20T12:00:00.000000+02:00",
2022-08-13 19:29:08 +02:00
"nom": "alain2",
"nom_fmt": "Alain2",
"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.",
"prenom": "bruno2",
"prenom_fmt": "Bruno2",
2022-08-13 19:29:08 +02:00
"prenomnom": "B. Alain2",
2023-05-11 17:08:35 +02:00
"roles_string": "LecteurAPI_, LecteurAPI_, Observateur_",
"status_txt": "ferm\u00e9",
2022-12-27 09:54:58 +01:00
"user_name": "lecteur_api"
2022-08-13 19:29:08 +02:00
}
```