Auth API reference

Auth API · Apps

delete/v1/apps/{app_id}/custom-domains/{domain_id}Auth

Remove the custom domain.

The host stops serving this app at once and its certificate is no longer renewed. Your DNS records are not touched: delete the CNAME and the `_productcraft-auth` TXT record at your DNS provider. Sign-ins on the canonical host are unaffected.

Path parameters

app_id*string

Id of the app.

domain_id*string · uuid

Id of the domain.

Response · 204

Removed.

Example

Request

DELETE https://api.auth.productcraft.co/v1/apps/{app_id}/custom-domains/{domain_id}
Authorization: Bearer YOUR_TOKEN