Skip to content

Patch Single Domain

Request

Security
Prod
Path
customerIdstring(Customerid)required
domainstring(Domain)required
Bodyapplication/jsonrequired
rewriteobject(DirectionData)
commentstring(Comment)
curl -i -X PATCH \
  'https://developers.retarus.com/_mock/seg/seg-config-openapi/seg/config/v1/beta/{customerId}/directory/domains/{domain}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "rewrite": {
      "inbound": "string",
      "outbound": "string"
    },
    "comment": "string"
  }'

Responses

Update a single domain of a customer

Bodyapplication/json
timestampstring(Timestamp)

Response timestamp, format: %Y-%m-%dT%H:%M:%S.%f%z

messagestring(Message)required
unsuccessfulArray of strings or null(Unsuccessful)
Any of:
Array of strings
Response
{ "timestamp": "2026-01-01T00:00:00.000Z", "message": "Successfully patched domain" }