Get application custom domains.
Get custom domains of the specified application, the application type should be protected app.
Path parameters
-
The unique identifier of the application.
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 \
-H "Authorization: Bearer $ACCESS_TOKEN"
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"
]
}
}
]