メインコンテンツまでスキップ

Get one user.

GET/api/v1/users/{user_id}users:read
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

A user removed from the company is 404 not_found. email_notification is null without View Notification Preferences, first_active_at and last_active_at without View User Activity, and is_non_billable without View Licenses.

スコープusers:read
非同期いいえ
MCP ツールget_user
Portal の権限view_users, view_user_profiles

パラメーター​

名前場所型必須説明
user_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json User
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

User​

フィールド型必須説明
departmentstring または null必須The department's name; null when none.
display_namestring必須
emailstring または null必須
email_notificationboolean または null必須Null without View Notification Preferences.
first_active_atstring (date-time) または null必須The first sign-in to this organisation; null when the person never signed in, without View User Activity, or when the sign-in service could not be read.
first_namestring または null必須
is_activeboolean必須
is_externalboolean必須
is_non_billableboolean または null必須True for a Docwize consultant, who is not billed as a user. Null without View Licenses, or when the consultant list could not be read.
is_verifiedboolean または null必須True once the person accepted the invitation and verified the sign-in; false while the invitation is pending or the person has no sign-in. Null when the sign-in service could not be read (a warning says so).
last_active_atstring (date-time) または null必須The latest sign-in to this organisation; null under the same conditions as first_active_at.
organisation_idstring または null必須
surnamestring または null必須
user_idstring必須
usernamestring または null必須The username and document-number prefix.