getOrgAdmins
GET https://{{host}}/api/v1/orgs/:org_id/admins
Get a list of people who can manage the Site/Org under the Org
Response Parameters
Name | Type | Description |
---|---|---|
admin_id | string | admin id |
first_name | string | first name |
last_name | string | last name |
two_factor_verified | boolean | two factor status |
privileges | list | list of privileges the admin has on the orgs/sites |
scope | string | site / org / sitegroup |
role | string | admin / write / read / helpdesk / installer |
view | string | see [supported UI views] |
site_id | string | site id |
first_name | string | for an invite, this is the original first name used |
last_name | string | for an invite, this is the original last name used |
RESPONSES
status: OK
[{"admin_id":"456b7016-a916-a4b1-78dd-72b947c152b7","first_name":"Joe","last_name":"Smith","two_factor_verified":false,"privileges":[{"scope":"org","role":"admin"},{"scope":"site","site_id":"d96e3952-53e8-4266-959a-45acd55f5114","role":"admin"},{"scope":"sitegroup","sitegroup_id":"581328b6-e382-f54e-c9dc-999983183a34","role":"admin"}]},{"admin_id":"72bfa2bd-e58a-4670-9d20-a1468f7a6f58","first_name":"John","last_name":"Doe","two_factor_verified":true,"privileges":[{"scope":"site","site_id":"d96e3952-53e8-4266-959a-45acd55f5114","role":"write","view":"location"},{"scope":"site","site_id":"4ac1dcf4-9d8b-7211-65c4-057819f0862b","role":"write","view":"location"}]},{"invite_id":"456b7016-a916-a4b1-78dd-72b947c152b7","email":"joe@abc.com","first_name":"Joe","last_name":"Smith","privileges":[{"scope":"org","role":"admin"},{"scope":"site","site_id":"d96e3952-53e8-4266-959a-45acd55f5114","role":"admin"}],"expire_time":1445966955},{"invite_id":"15899c53-92da-4119-bdcf-65203bc84663","email":"jsnow@abc.com","first_name":"John","last_name":"Snow","privileges":[{"scope":"org","role":"read","view":"reporting"}],"expire_time":1445966955}]