curl --request DELETE \
--url https://api.blaxel.ai/v0/customdomains/{domainName} \
--header 'Authorization: Bearer <token>'{
"metadata": {
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"displayName": "Preview Domain",
"labels": {},
"name": "preview.example.com",
"workspace": "<string>"
},
"spec": {
"cnameRecords": "<string>",
"lastVerifiedAt": "<string>",
"region": "us-pdx-1",
"status": "verified",
"txtRecords": {},
"verificationError": "<string>"
}
}curl --request DELETE \
--url https://api.blaxel.ai/v0/customdomains/{domainName} \
--header 'Authorization: Bearer <token>'{
"metadata": {
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"displayName": "Preview Domain",
"labels": {},
"name": "preview.example.com",
"workspace": "<string>"
},
"spec": {
"cnameRecords": "<string>",
"lastVerifiedAt": "<string>",
"region": "us-pdx-1",
"status": "verified",
"txtRecords": {},
"verificationError": "<string>"
}
}OAuth2 authentication with JWT tokens
Name of the custom domain
successful operation
Custom domain for preview deployments
The custom domain represents a base domain (e.g., example.com) that will be used
to serve preview deployments. Each preview will be accessible at a subdomain:
Was this page helpful?