seo

DELETE /v1/seo-desk/clients/{engagementId}

Delete a client from your desk, with its months and reports.

All seo endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

Authentication

Send an API key as a bearer token. The endpoint checks sites.seo.manage; a key without it is refused with 403, not 404.

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/seo-desk/clients/{engagementId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "confirm_name": <string> }'

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

Needs sites.seo.manage in the org the desk belongs to (a multi-org caller names it with org_id or X-Zinn-Org). The SEO client desk for customers: the clients YOU run SEO for (desk). Rows are your org's only. Type the client's name to confirm; audited.

Parameters

NameTypeRequiredWhat it is
engagementId (path)stringYes—

Request body

NameTypeRequiredWhat it is
confirm_namestringYesThe client's name
confirm_paidbooleanNoRequired (true) when any month is marked paid; its payment records are deleted too.

Response

NameTypeRequiredWhat it is
deletedstringYes—

Errors this endpoint can return

401 · 403 · 404 · 422