Projects

Delete a project

DELETE /api/v1/projects/{id}

Owner only. Deletes the project and all its data.

API key access
Read and write
Project permission
Project owner
Success
200 — Deleted

Parameters

Path

ParameterTypeNotes
id required string Project id

Example request

Replace tk_live_YOUR_KEY with your API key and the ids with your own.

curl -X DELETE 'https://trackerv2.marketingplanet.global/api/v1/projects/6650a4c2e1b3d5f7a9c1e301' \
  -H 'Authorization: Bearer tk_live_YOUR_KEY'

Example response

200 OK
{
  "data": {
    "id": "6650a4c2e1b3d5f7a9c1e301",
    "deleted": true
  }
}

Response fields

FieldTypeNotes
data object
data.id string
data.deleted true

Errors

Besides the errors any request can return (bad or missing key, plan, scope, rate limit), this endpoint can return:

Statuserror.codeMeaning
404not-foundThe resource does not exist or you cannot open it. Tracker does not reveal which.
403owner-onlyOnly the project owner can do this.
403forbiddenThe account is restricted: reads still work, but changes that add or modify projects, pages or monitors are blocked (error.accountStatus is restricted).

Errors always look like { "error": { "code": "…", "message": "…" } }. See Errors & limits.