Skip to content

Put Domains

Request

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

Responses

Add multiple domains to 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 updated domains" }