メインコンテンツへスキップ
POST
https://{tenantDomain}/api/v2
/
clients
/
cimd
/
register
メタデータURIを使用してCIMDクライアントを登録または更新
curl --request POST \
  --url https://{tenantDomain}/api/v2/clients/cimd/register \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "external_client_id": "<string>"
}
'
{
  "client_id": "<string>",
  "mapped_fields": {
    "app_type": "<string>",
    "callbacks": [
      "<string>"
    ],
    "client_authentication_methods": {
      "private_key_jwt": {
        "credentials": [
          {
            "alg": "<string>",
            "credential_type": "<string>",
            "kid": "<string>"
          }
        ]
      }
    },
    "description": "<string>",
    "external_client_id": "<string>",
    "grant_types": [
      "<string>"
    ],
    "jwks_uri": "<string>",
    "logo_uri": "<string>",
    "name": "<string>",
    "token_endpoint_auth_method": "<string>"
  },
  "validation": {
    "valid": true,
    "violations": [
      "<string>"
    ],
    "warnings": [
      "<string>"
    ]
  }
}

承認

Authorization
string
header
必須

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

ボディ

external_client_id
string<absolute-https-uri-or-empty>
必須

Client ID Metadata Document のURL。upsert操作の一意の識別子として機能します。

Required string length: 1 - 120

レスポンス

CIMD クライアントが正常に更新されました(冪等)。

CIMDクライアントの登録または更新に成功した後のレスポンス

client_id
string
必須

作成または更新されたクライアントのAuth0 client_id

mapped_fields
object
必須

クライアントIDメタデータドキュメントからマッピングされた Auth0 クライアントのフィールド

validation
object
必須

クライアントIDメタデータドキュメントの検証結果