Deutsch DE
API-Referenz
API-Referenz

Löschen und Bestätigungen

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}.

Braucht deine Bestätigung MCP-Werkzeug delete_item

Ändert nichts sofort. Die Antwort enthält einen Link, den die Kontoinhaberin oder der Kontoinhaber in Tentary bestätigt. Bestätigungen

Autorisierung

  • Authorization string Header erforderlich

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

Body application/json

  • kind string erforderlich

    What to delete.

    Mögliche Werte: productcoursemodulelessonlanding_pageemail_campaignemail_automationautomation_email

  • id integer erforderlich

    The id of the thing.

    min. 1

Antwort

Felder der Antwort mit Status 200. Fehler haben immer dasselbe Format, siehe Fehler.

The action waits for the seller's confirmation.

  • status string

    Nothing happened yet.

    Mögliche Werte: 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.

Tippe, um zu suchen.