Get current user profile

以 Markdown 格式查看
Returns user and all workspace memberships with role and tier.

请求头

Authorizationstring必需

Bearer {access_token}

响应

data: user + workspaces

authProviderstring可选
avatarUrlstring可选
createdAtstring可选
displayNamestring可选
emailstring可选
idstring可选
lastLoginAtstring可选
onboardingCompletedboolean可选
privateWorkspaceAccessenum可选

Access state for a user in a private-workspace deployment.

twoFactorEnabledboolean可选
workspaceslist of objects可选

错误

401
Unauthorized Error