English EN
API Reference
API Reference

Customers and access

Revoke access

POST / v1 / access / revoke

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

Changes at once MCP tool revoke_access

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

  • email string required

    The customer's e-mail address.

    min length 3 max length 255

  • product_id integer required

    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

Response

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

  • status string

    The status.

    Allowed values: revokednot_found

  • message string

    What happened, in words for the seller.

  • revoked_grants integer

    Number of grants that were revoked.

  • customer_id integer can be null

    The customer ID.

Start typing to search.