Skip to content

Delete Domains

Request

Security
Prod
Path
customerIdstring(Customerid)required
Bodyapplication/jsonrequired
domainsArray of strings(Domains)required
curl -i -X DELETE \
  '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 '{
    "domains": [
      "string"
    ]
  }'

Responses

Delete multiple domains 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 deleted domains" }