Delete and confirmations
Delete
/ v1 / delete Deletes or archives one thing. What happens depends on the type:
productis archived. Buyers cannot buy it, earlier buyers keep access, it leaves its shop categories, and bundles that contain it do not show it.courseis archived. Buyers cannot open it until the account owner restores it in the app.moduleandlessonare deleted with everything in them. The course keeps a backup of the outline. Refused while another lesson waits for one of them.landing_pageis deleted. Not possible for the shop home page.email_campaignis deleted. Drafts only.email_automationandautomation_emailare deleted. Inactive ones only.
Alternatives without confirmation:
- To switch a coupon off, use
PATCH /v1/coupons/{coupon_id}withstatusarchived. - To only hide a landing page or a product, set its
statustodraft.
After the call: the account owner confirms at the confirm_url within 5 minutes. Then check the result with GET /v1/confirmations/{confirmation_id}.
Changes nothing at once. The answer has a link that the account owner confirms in Tentary. Confirmations
Authorization
-
Authorizationstring header requiredBearer tnt_…· A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Introduction
Body application/json
-
kindstring requiredWhat to delete.
Allowed values:
productcoursemodulelessonlanding_pageemail_campaignemail_automationautomation_email -
idinteger requiredThe 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.
-
statusstringNothing happened yet.
Allowed values:
needs_confirmation -
confirmation_idintegerFor get_confirmation.
-
confirm_urlstring<uri>The seller opens it while logged in to Tentary and confirms.
-
expires_atstring<date-time>UTC, like 2026-01-31T14:05:00Z. The link works until then.
-
summarystringWhat the seller confirms.
-
messagestringNext steps for the AI app.