v1

latestOpenAPI 3.0.02026-07-2496664456.3 KB
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}

Path parameters

user_idstring required

The user ID.

Query parameters

include_roleboolean

Flag whether response includes user's role.

Response

A successful response.