Projects
deleteCustomDomain
Delete a custom domain
Removes a custom domain from the project and revokes its TLS certificate.
Usage
const result = await api.projects.deleteCustomDomain();Parameters
None.
Response
Promise<void> — no content.
Example
import { PgBeamClient } from "pgbeam";
const client = new PgBeamClient({
token: "pbk_...",
baseUrl: "https://api.pgbeam.com",
});
const result = await client.api.projects.deleteCustomDomain();Errors
| Status | Description |
|---|---|
| 400 | Invalid request parameters. |
| 401 | Missing or invalid authentication. |
| 403 | Operation not allowed by current plan limits. |
| 404 | Resource not found. |
| 429 | Rate limited. Try again later. |