Typescript (SDK)
Sites
Delete site
Tears down the AI site (unpublishes the worker, purges D1 + R2, deletes the row). Refuses the default AI site — the account must always own at least one.
DELETE
Typescript (SDK)
Authorizations
API key in the format: Bearer {api_token}
Path Parameters
The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")

