← Back to API Reference

PATCH /domains/{domain_id}

Update Domain

Compatibility endpoint to update domain data.

Request (cURL)

curl -X PATCH "http://localhost:8080/v1/domains/dom_123" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "mail.example.com"
}'

Response Example

{
  "id": "id_123"
}

Request Body Example

{
  "name": "mail.example.com"
}