Users API
List all users
Lists all the users
GET/rest/msm/users
Body none
Query parameters | none |
Header | auth-token: token from authentication |
Header/Parameter | tenant |
Returns | List of Users |
Required role | KBA_MANAGER |
Example request
curl 'http://localhost:8080/mwp/rest/msm/userst' -H "Content-Type:application/json" -H "auth-token:608f3536-4eac-4ad4-867c-9541dd42c6c7.local" -H "tenant:default" -X GET
Example response
[ {"id":57,"username":"user13","email":null,"roles":[{"id":2,"role":"USER","description":"Allows access to Match Web Player for consultation of all configured KBAs"}],"attributes":[{"attribute":{"id":13,"name":"Role","description":"Role for a user","unique":false,"mandatory":false},"value":null},{"attribute":{"id":22,"name":"AT1","description":"AT1","unique":false,"mandatory":false},"value":null},{"attribute":{"id":24,"name":"Naam","description":"Volledige naam adviseur","unique":false,"mandatory":true},"value":null},{"attribute":{"id":25,"name":"Achternaam","description":"Something","unique":false,"mandatory":false},"value":null},{"attribute":{"id":26,"name":"Voornaam","description":"something","unique":false,"mandatory":false},"value":null},{"attribute":{"id":32,"name":"testToBeRemoved","description":"testing process","unique":true,"mandatory":false},"value":null},{"attribute":{"id":27,"name":"New attribute","description":"Testing creation of attributes","unique":false,"mandatory":false},"value":null},{"attribute":{"id":28,"name":"Profession","description":"What is your job?","unique":false,"mandatory":false},"value":null},{"attribute":{"id":33,"name":"givenName","description":null,"unique":false,"mandatory":false},"value":null}],"accountAccess":"ENABLED","nonPersonalAccount":true,"deleted":false,"passwordExpired":false,"passwordChangeDate":null,"isActive":true}, {"id":87,"username":"user43","email":null,"roles":[{"id":2,"role":"USER","description":"Allows access to Match Web Player for consultation of all configured KBAs"}],"attributes":[{"attribute":{"id":13,"name":"Role","description":"Role for a user","unique":false,"mandatory":false},"value":null},{"attribute":{"id":22,"name":"AT1","description":"AT1","unique":false,"mandatory":false},"value":null},{"attribute":{"id":24,"name":"Naam","description":"Volledige naam adviseur","unique":false,"mandatory":true},"value":null},{"attribute":{"id":25,"name":"Achternaam","description":"Something","unique":false,"mandatory":false},"value":null},{"attribute":{"id":26,"name":"Voornaam","description":"something","unique":false,"mandatory":false},"value":null},{"attribute":{"id":27,"name":"New attribute","description":"Testing creation of attributes","unique":false,"mandatory":false},"value":null},{"attribute":{"id":32,"name":"testToBeRemoved","description":"testing process","unique":true,"mandatory":false},"value":null},{"attribute":{"id":28,"name":"Profession","description":"What is your job?","unique":false,"mandatory":false},"value":null},{"attribute":{"id":33,"name":"givenName","description":null,"unique":false,"mandatory":false},"value":null}],"accountAccess":"ENABLED","nonPersonalAccount":true,"deleted":false,"passwordExpired":false,"passwordChangeDate":null,"isActive":true} ]