Deutsch DE
API-Referenz
API-Referenz

Kund:innen und Zugänge

Revoke access

POST / v1 / access / revoke

Takes away access that was granted: by POST /v1/access/grant, an import, Zapier or the Tentary app.

Ändert sofort MCP-Werkzeug revoke_access

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

  • email string erforderlich

    The customer's e-mail address.

    min. Länge 3 max. Länge 255

  • product_id integer erforderlich

    The id from list_products.

    min. 1

  • variant_id integer

    Only the grant of this variant. Leave out for all variants of the product.

    min. 0

Antwort

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

  • status string

    The status.

    Mögliche Werte: revokednot_found

  • message string

    What happened, in words for the seller.

  • revoked_grants integer

    Number of grants that were revoked.

  • customer_id integer kann null sein

    The customer ID.

Tippe, um zu suchen.