Get
/users/{userid}
Returns user details for the supplied user id. If the supplied access token does not have rights for the account associated with the requested user an error will be returned. A superhero user can access details for any user on their account.
Security
HTTP
Type bearer
User or account level token in Header, key = 'Authorization', value = 'Bearer '
Path parameters
userid
stringRequired
User ID
Responses
200
User details retrieved successfully
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 user