WebmeticDocs
Get startedDetectEnrichPersonalizeIntegrateManagePartnersDevelopers
PlaygroundPartner

Remove a website

DELETE
/partner/customers/{account_id}/websites/{domain}

Remove a domain from a customer.

This revokes API access to the domain. Already collected tracking data is kept and becomes reachable again if the domain is added back.

Note: This endpoint is rate-limited to 30 requests per minute.

Authorization

APIKeyHeader
headerAuthorization<token>

Path Parameters

account_id*Account Id

Account id of the customer, from create-customer or the customer list

domain*Domain

A domain of the customer as listed in websites, any case

Response Body

All domains the customer has left; can be empty

application/json
  1. response
account_id*Account Id

Account id of the customer

websites*array<string>

All domains of the customer after the change

Example Request
curl -X DELETE 'https://hub.webmetic.de/partner/customers/string/websites/string'
Example Response
{  "account_id": "q4nx7h",  "websites": [    "nordhafen-anlagenbau.de"  ]}