Examples

GET /api/users/298486374
200
{
  "firstname": "Two",
  "lastname": "User",
  "mail": "usertwo@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-05-19 07:53:37 UTC",
  "updated_at": "2021-05-19 07:53:37 UTC",
  "id": 298486374,
  "login": "two",
  "description": null,
  "ssh_keys": [],
  "default_location": null,
  "locations": [],
  "default_organization": null,
  "organizations": [],
  "effective_admin": false,
  "cached_usergroups": [],
  "auth_source_ldap": {
    "id": 980190962,
    "type": "AuthSourceLdap",
    "name": "ldap-server"
  },
  "mail_notifications": [],
  "roles": [],
  "usergroups": []
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
required

Validations:

  • Must be a String