Skip to main content
DELETE
https://api.thepurplebox.io
/
v1
/
domains
Delete a Domain
curl --request DELETE \
  --url https://api.thepurplebox.io/v1/domains \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>'
{
    "status": 200,
    "message": "domain deleted successfully.",
    "data": null
}

Headers

Content-Type
string
required
application/json

Query Parameters

value
string
required
The domain name to delete (e.g., yourdomain.com).

Response

status
number
HTTP status code. Returns 200 when the domain is deleted successfully.
message
string
A human-readable message describing the result of the operation.
data
object | null
Contains deletion confirmation details. May be null for successful deletions.
{
    "status": 200,
    "message": "domain deleted successfully.",
    "data": null
}