Add a custom domain to the application.
Add a custom domain to the application. You'll need to setup DNS record later.
Path parameters
-
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 "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"domain":"string"}'
Request examples
{
"domain": "string"
}