Remove an app's custom domain
DELETE
Stop serving the address; the site moves back to its Syndai address. delete_records: the CNAME to delete at the domain's DNS host now. Needs coding:apps:publish.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id*stringFormat
uuidpublication_id*stringFormat
uuidRequest fulfilled, document follows
application/json- response
delete_records?array<>dns_provider?string|nulldns_url?string|nulldomain_connect_url?string|nullhostname?string|nullrecords*array<>status*stringcurl -X DELETE 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/domain'Example Response
{ "delete_records": [ { "name": "string", "type": "string", "value": "string" } ], "dns_provider": "string", "dns_url": "string", "domain_connect_url": "string", "hostname": "string", "records": [ { "name": "string", "type": "string", "value": "string" } ], "status": "string"}