メインコンテンツへスキップ
POST
https://{tenantDomain}/api/v2
/
connections
/
{id}
/
directory-provisioning
ディレクトリのプロビジョニング設定を作成する
curl --request POST \
  --url https://{tenantDomain}/api/v2/connections/{id}/directory-provisioning \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "mapping": [
    {
      "auth0": "<string>",
      "idp": "<string>"
    }
  ],
  "synchronize_automatically": true
}
'
{
  "connection_id": "<string>",
  "connection_name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "mapping": [
    {
      "auth0": "<string>",
      "idp": "<string>"
    }
  ],
  "strategy": "<string>",
  "synchronize_automatically": true,
  "updated_at": "2023-11-07T05:31:56Z",
  "last_synchronization_at": "2023-11-07T05:31:56Z",
  "last_synchronization_error": "<string>",
  "last_synchronization_status": "<string>"
}

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

ディレクトリプロビジョニング設定を作成する接続の id

ボディ

mapping
object[]

Auth0 と IdP のユーザー属性間のマッピング

Minimum array length: 1
synchronize_automatically
boolean

定期的な自動同期が有効かどうか

synchronize_groups
enum<string>
GA

グループ同期設定

利用可能なオプション:
all,
off,
selected

レスポンス

接続のディレクトリプロビジョニング設定が作成されました。スキーマについては Response Schemas を参照してください。

connection_id
string
必須

接続の識別子

connection_name
string
必須

接続の名前

created_at
string<date-time>
必須

ディレクトリプロビジョニング設定が作成された日時のタイムスタンプ

mapping
object[]
必須

Auth0 と IdP のユーザー属性間のマッピング

Minimum array length: 1
strategy
string
必須

接続のストラテジー

synchronize_automatically
boolean
必須

定期的な自動同期が有効かどうか

updated_at
string<date-time>
必須

ディレクトリプロビジョニング設定が最後に更新された日時のタイムスタンプ

last_synchronization_at
string<date-time>

接続が最後に同期された日時のタイムスタンプ

last_synchronization_error
string

最後の同期で発生したエラーメッセージ(存在する場合)

last_synchronization_status
string

最後の同期のステータス

synchronize_groups
enum<string>
GA

グループ同期設定

利用可能なオプション:
all,
off,
selected