Confirm and clear domain email verification cache

Confirm successful email verification for a domain. This clears cached verification information and notifies relevant systems of the update, ensuring services linked to the domain function correctly.

Domain Services Email

Context

Headers

Accept Example
Content-Type Example

Body

required
application/json
approved string required · Example: yes
email string required · Example: [email protected]

Responses

200
data object required
data.clearedDomains array<string> required · Example: ["example.com"]
data.clientsNotified array<string> required · Example: ["3704"]
data.message string required · Example: Verification caches cleared

Human-readable message.

data.success boolean required · Example: true

True for successful responses.

requestId string required · Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba

Unique request identifier (UUID).

success boolean required · Example: true

True for successful responses.

timestamp string required · Example: 2026-02-10T00:00:00.000Z

ISO 8601 timestamp (UTC).

400
code string required · Example: BAD_REQUEST

Machine-readable error code.

error string required · Example: Bad Request

HTTP status title (e.g. 'Bad Request').

message string required · Example: Email is required

Human-readable message.

requestId string required · Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba

Unique request identifier (UUID).

timestamp string required · Example: 2026-02-10T00:00:00.000Z

ISO 8601 timestamp (UTC).

POST https://cloud.hostup.se/api/email-verification/confirmed
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/email-verification/confirmed" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "[email protected]",
    "approved": "yes"
  }'
Response
{
  "success": true,
  "timestamp": "2026-02-10T00:00:00.000Z",
  "requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
  "data": {
    "success": true,
    "message": "Verification caches cleared",
    "clearedDomains": [
      "example.com"
    ],
    "clientsNotified": [
      "3704"
    ]
  }
}
Request Body Example 1
{
  "email": "[email protected]",
  "approved": "yes"
}