Read the user

Read the user under API caller's workplace. If include_role specified, response will include roles bound to API caller's workplace and ad account (if exists). The user who has any role except AD_ACCOUNT_VIEWER can call this API. A user who has an AD_ACCOUNT_VIEWER role can only read itself.

Path Params
string
required

The user ID.

Query Params
boolean

Flag whether response includes user's role.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json