DocScoDocPE/docs/samples/sample_user-role-add.json.md

660 B

user-role-add

POST /user/10/role/Observateur/add

{
    "date_expiration": null,
    "date_modif_passwd": "2022-08-19T09:29:19.775361Z",
    "date_created": "2022-08-19T09:29:19.775364Z",
    "dept": "TAPI",
    "id": 10,
    "active": false,
    "status_txt": "ferm\u00e9",
    "last_seen": "2022-08-19T09:29:19.775354Z",
    "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": ""
}