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

NameTypeDescription
admin_idstringadmin id
first_namestringfirst name
last_namestringlast name
two_factor_verifiedbooleantwo factor status
privilegeslistlist of privileges the admin has on the orgs/sites
scopestringsite / org / sitegroup
rolestringadmin / write / read / helpdesk / installer
viewstringsee [supported UI views]
site_idstringsite id
first_namestringfor an invite, this is the original first name used
last_namestringfor 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}]