メインコンテンツへスキップ
GET
ユーザーを取得
このendpointは、直接のrole割り当て (role_assignments) とIDPグループ由来のrole割り当て (idp_role_assignments) の両方を含む、IDで指定されたユーザーを返します。

権限

Enterprise 全体に対する ViewAccountMembership 権限を持つサービスユーザーまたはパーソナルアクセストークンが必要です。

承認

Authorization
string
header
必須

サービスユーザーの credential(プレフィックス: cog_)

パスパラメータ

user_id
string
必須

ユーザーID

レスポンス

成功レスポンス

user_id
string
必須
email
string | null
必須
name
string | null
必須
role_assignments
RoleAssignment · object[]
必須
idp_role_assignments
IdpRoleAssignment · object[]
enterprise_joined_at
integer | null

このEnterpriseにユーザーが追加された日時。

idp_identities
IdpIdentity · object[] | null

エンタープライズの SSO(シングルサインオン)接続におけるユーザーの ID。エンタープライズで有効になっている場合にのみ返されます。