English EN
API Reference
API Reference

Delete and confirmations

Delete

POST / v1 / delete

Deletes or archives one thing. What happens depends on the type:

  • product is archived. Buyers cannot buy it, earlier buyers keep access, it leaves its shop categories, and bundles that contain it do not show it.
  • course is archived. Buyers cannot open it until the account owner restores it in the app.
  • module and lesson are deleted with everything in them. The course keeps a backup of the outline. Refused while another lesson waits for one of them.
  • landing_page is deleted. Not possible for the shop home page.
  • email_campaign is deleted. Drafts only.
  • email_automation and automation_email are deleted. Inactive ones only.

Alternatives without confirmation:

  • To switch a coupon off, use PATCH /v1/coupons/{coupon_id} with status archived.
  • To only hide a landing page or a product, set its status to draft.

After the call: the account owner confirms at the confirm_url within 5 minutes. Then check the result with GET /v1/confirmations/{confirmation_id}.

Needs your confirmation MCP tool delete_item

Changes nothing at once. The answer has a link that the account owner confirms in Tentary. Confirmations

Authorization

  • Authorization string header required

    Bearer tnt_… · A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Introduction

Body application/json

  • kind string required

    What to delete.

    Allowed values: productcoursemodulelessonlanding_pageemail_campaignemail_automationautomation_email

  • id integer required

    The id of the thing.

    min 1

Response

Fields of the answer with status 200. Errors always have the same format, see Errors.

The action waits for the seller's confirmation.

  • status string

    Nothing happened yet.

    Allowed values: needs_confirmation

  • confirmation_id integer

    For get_confirmation.

  • confirm_url string<uri>

    The seller opens it while logged in to Tentary and confirms.

  • expires_at string<date-time>

    UTC, like 2026-01-31T14:05:00Z. The link works until then.

  • summary string

    What the seller confirms.

  • message string

    Next steps for the AI app.

Start typing to search.