List account users

Prev Next
Get
/accounts/{accountid}/users

Returns users associated with the supplied account id. If the supplied access token does not have rights for that account an error will be returned. NOTE: Only superhero users can access this endpoint.

Security
HTTP
Type bearer

User or account level token in Header, key = 'Authorization', value = 'Bearer '

Path parameters
accountid
stringRequired

Account ID

Responses
200

User list retrieved successfully

Array of object
object
user_id
string
Example5a4b8b9a0460151a5961504a
user_type
string
Examplehero
account_id
string
Example58fde5f99cad0a03e578fe0b
first_name
string
ExampleBruce
last_name
string
ExampleWayne
email
string
Examplebruce@wayneenterprises.com
assigned_projects
Array of string
string
Example58fde5f99cad0a03e578fe0b
created_date_time
string (date-time)
Example2016-03-15T06:08:27.928Z
last_updated
string (date-time)
Example2016-03-15T06:08:27.928Z
last_login_at
string (date-time)
Example2016-03-15T06:08:27.928Z
401

Invalid token

403

Supplied token invalid for requested account