Add a custom domain to the protected application.
POST
/api/applications/{id}/protected-app-metadata/custom-domains
Add a custom domain to the protected application. You'll need to setup DNS record later. This feature is not available for open source version.
Path parameters
-
id string Required
The unique identifier of the application.
POST /api/applications/{id}/protected-app-metadata/custom-domains
curl \
-X POST https://[tenant_id].logto.app/api/applications/{id}/protected-app-metadata/custom-domains \
-H "Content-Type: application/json" \
-d '{"domain":"string"}'
Request example
{
"domain": "string"
}