Get the list of custom domains of the protected application.

GET /api/applications/{id}/protected-app-metadata/custom-domains

Get the list of custom domains of the protected application. This feature is not available for open source version.

Path parameters

  • id string Required

    The unique identifier of the application.

Responses

  • 200 application/json

    The domain list of the protected application.

    Hide response attributes Show response attributes object
  • 400

    Faild to sync the domain info from remote provider.

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Not Found

  • 501

    Not Implemented

GET /api/applications/{id}/protected-app-metadata/custom-domains
curl \
 -X GET https://[tenant_id].logto.app/api/applications/{id}/protected-app-metadata/custom-domains
Response examples (200)
[
  {
    "domain": "string",
    "status": "PendingVerification",
    "errorMessage": "string",
    "dnsRecords": [
      {
        "name": "string",
        "type": "string",
        "value": "string"
      }
    ],
    "cloudflareData": {
      "id": "string",
      "status": "string",
      "ssl": {
        "status": "string",
        "validation_errors": [
          {
            "message": "string"
          }
        ]
      },
      "verification_errors": [
        "string"
      ]
    }
  }
]