Skip to main content
DELETE
Retire the project's mail domain while the project stays active

Authorizations

Authorization
string
header
required

WorkOS access JWT or a user-owned WorkOS API key. User keys are bound to one organization and restricted to their enabled product permissions. Session-only onboarding and session revocation require an interactive access JWT. No cookie session is assumed.

Headers

X-Request-Id
string

Optional caller-provided correlation identifier.

Required string length: 1 - 128
Idempotency-Key
string
required

Identifies one mutation and its canonical request payload.

Required string length: 1 - 128

Path Parameters

project_id
string
required
Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
environment_id
string
required
Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$

Response

The mail domain is retired.

status
string
required
Allowed value: "deleted"
domain
string
required
dns_records
object[]
required

Records ohmyho.st no longer manages; remove them from the domain's DNS.