links
DELETE /v1/content/external-sites/{siteId}
Remove a connected site we do not host.
Authentication
Send an API key as a bearer token. This endpoint does not state a specific permission in the specification, so give your key the least it needs and check the response rather than assuming.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X DELETE https://api.zinndigital.com/v1/content/external-sites/{siteId} \
-H "Authorization: Bearer zdk_live_…"Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Forgets the site: its publishing credential and any backup credential are deleted from our secret store, the site leaves every list, and no lost-connection notice is sent for it again — including by a check already in flight. Monthly add-ons bought for the site stop billing. Backups of it we already hold stay downloadable until 30 days after they were taken and are then deleted; copies in the customer's own offsite storage are left there. Nothing on the site itself is changed. Gated on links.edit.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
siteId (path) | string | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
site_id | string | Yes | — |
primary_domain | string | Yes | — |
charges_stopped | integer | Yes | Monthly add-on charges for this site that were stopped. |
backups_kept_until | string | Yes | When the newest archive we hold for the site is deleted by retention; null if none. |
Errors this endpoint can return
401 · 403 · 404