Raff Apps

Add custom domain

Attach a custom domain to a web service. The response carries the DNS records to create — a CNAME to cname_target and a verification TXT record. Verification and TLS issuance run automatically once the DNS resolves.

post/api/v1/apps/services/{service_id}/domains

Path parameters

service_idstring required

App service ID (UUID) or short id (the service_id field)

Request body

domainstring required

Response

Domain added (status pending_dns)

successboolean

Changes

Changed in 1 of the 28 revisions of this API.1