User
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.
get/cm/v1/auth/users/{user_id}
Request
- Base URLhttps://api.moloco.cloud
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_idstring required
The user ID.
Query parameters
include_roleboolean
Flag whether response includes user's role.
Response
A successful response.
Changes
No recorded changes to this operation across all 2 revisions of this API.