DocScoDoc/docs/samples/sample_user-role-add.json.md
2022-08-14 10:04:11 +02:00

660 B

user-role-add

POST /user/10/role/Observateur/add

{
    "date_expiration": null,
    "date_modif_passwd": "2022-08-14T08:02:19.960831Z",
    "date_created": "2022-08-14T08:02:19.960835Z",
    "dept": "TAPI",
    "id": 10,
    "active": false,
    "status_txt": "ferm\u00e9",
    "last_seen": "2022-08-14T08:02:19.960825Z",
    "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": ""
}