GET /api/users/one 200 { "firstname": "One", "lastname": "User", "mail": "userone@someware.com", "admin": false, "auth_source_id": 980190962, "auth_source_name": "ldap-server", "timezone": null, "locale": null, "last_login_on": "2009-10-12 21:50:04 UTC", "created_at": "2018-07-24 13:02:47 UTC", "updated_at": "2018-07-24 13:02:47 UTC", "id": 980190962, "login": "one", "description": null, "ssh_keys": [], "default_location": null, "locations": [ { "id": 255093256, "name": "Location 1", "title": "Location 1", "description": null } ], "default_organization": null, "organizations": [ { "id": 447626438, "name": "Organization 1", "title": "Organization 1", "description": null } ], "effective_admin": false, "cached_usergroups": [], "auth_source_ldap": { "id": 980190962, "type": "AuthSourceLdap", "name": "ldap-server" }, "mail_notifications": [], "roles": [ { "name": "Viewer", "id": 5, "description": null, "origin": "foreman" } ], "usergroups": [] }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
id required |
Validations:
|