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 \
--request POST https://[tenant_id].logto.app/api/applications/{id}/protected-app-metadata/custom-domains \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"domain":"string"}'
Request examples
{
"domain": "string"
}