GET /api/users/980190962 200 { "firstname": "One", "lastname": "User", "mail": "userone@someware.com", "admin": false, "auth_source_id": 980190962, "disabled": false, "auth_source_name": "ldap-server", "timezone": null, "locale": null, "last_login_on": "2009-10-12 21:50:04 UTC", "created_at": "2021-09-01 11:23:56 UTC", "updated_at": "2021-09-01 11:25:08 UTC", "id": 980190962, "login": "one", "description": null, "ssh_keys": [], "default_location": { "id": 255093256, "name": "Location 1", "title": "Location 1", "description": 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 |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|