メインコンテンツへスキップ
POST
Go

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

ヘッダー

auth0-custom-domain
string

このリクエストで使用するカスタムドメイン

Required string length: 3 - 255

パスパラメータ

id
string
必須

組織の識別子。

Maximum string length: 50

ボディ

client_id
string<client-id>
デフォルト:AaiyAPdpYdesoKnqjj8HJqRn4T5titww
必須

Auth0のクライアントID。アプリケーションのログイン開始エンドポイントを特定するために使用されます。

invitee
object
必須
inviter
object
必須
app_metadata
object

アプリケーションの中核機能には影響しない、ユーザーに関連するデータ。

connection_id
string<connection-id>
デフォルト:con_0000000000000001

招待されたユーザーに認証を強制する接続のid。

roles
string<role-id>[]

ユーザーに関連付けるロールIDの一覧。

Minimum array length: 1
send_invitation_email
boolean
デフォルト:true

ユーザーに招待メールを送信するかどうか(true)、または送信しないかどうか(false)。デフォルトはtrueです

ttl_sec
integer

招待の有効期限が切れるまでの秒数。未指定または0に設定した場合、この値のデフォルトは604800秒(7日間)です。最大値は2592000秒(30日間)です。

必須範囲: 0 <= x <= 2592000
user_metadata
object

アプリケーションの中核機能に影響しない、このユーザーに関連するデータ。

レスポンス

招待が正常に作成されました。

app_metadata
object

アプリケーションの中核機能には影響しない、ユーザーに関連するデータ。

client_id
string<client-id>
デフォルト:AaiyAPdpYdesoKnqjj8HJqRn4T5titww

Auth0のクライアントID。アプリケーションのログイン開始エンドポイントを特定するために使用されます。

connection_id
string<connection-id>
デフォルト:con_0000000000000001

招待されたユーザーに認証を強制する接続のid。

created_at
string<date-time>
デフォルト:2020-08-20T19:10:06.299Z

招待の作成時刻を表すISO 8601形式のタイムスタンプ。

expires_at
string<date-time>
デフォルト:2020-08-27T19:10:06.299Z

招待の有効期限を表すISO 8601形式のタイムスタンプ。

id
string<user-invitation-id>
デフォルト:uinv_0000000000000001

ユーザー招待のid。

invitation_url
string<strict-https-uri>
デフォルト:https://mycompany.org/login?invitation=f81dWWYW6gzGGicxT8Ha0txBkGNcAcYr&organization=org_0000000000000001&organization_name=acme

招待されたユーザーに送信する招待URL。

invitee
object
inviter
object
organization_id
string<organization-id>

組織識別子。

Maximum string length: 50
roles
string<role-id>[]

ユーザーに関連付けるロールIDの一覧。

Minimum array length: 1
ticket_id
string<ticket-id>

招待ticketのid

user_metadata
object

アプリケーションの中核機能に影響しない、このユーザーに関連するデータ。