GET /api/users 200 { "total": 10, "subtotal": 0, "page": 1, "per_page": 20, "search": "login == foreman_admin", "sort": { "by": null, "order": null }, "results": [] }
Param name | Description |
---|---|
auth_source_ldap_id optional |
ID of LDAP authentication source Validations:
|
usergroup_id optional |
ID of user group Validations:
|
role_id optional |
ID of role Validations:
|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
search optional |
filter results Validations:
|
order optional |
Sort field and order, eg. ‘id DESC’ Validations:
|
page optional |
Page number, starting at 1 Validations:
|
per_page optional |
Number of results per page to return, ‘all’ to return all results Validations:
|
Field name | Type | Possible values |
---|---|---|
admin | true, false | |
auth_source | string | |
auth_source_type | string | |
description | text | |
disabled | true, false | |
firstname | string | |
last_login_on | datetime | |
lastname | string | |
location | string | |
location_id | integer | |
login | string | |
string | ||
organization | string | |
organization_id | integer | |
role | string | |
role_id | integer | |
usergroup | string |