メインコンテンツへスキップ
POST
https://{tenantDomain}/api/v2
/
custom-domains
/
{id}
/
test
Go
package example

import (
    context "context"

    client "github.com/auth0/go-auth0/management/management/client"
    option "github.com/auth0/go-auth0/management/management/option"
)

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.CustomDomains.Test(
        context.TODO(),
        "id",
    )
}
{
  "success": true,
  "message": "<string>"
}

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

テストするカスタムドメインのid。

レスポンス

カスタムドメインのテストが正常に完了しました。

success
boolean
必須

操作の結果。

message
string

操作のステータスを示すメッセージ。