Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

System/Security → TokenOpInvalidate

AI-generated

Summary

Invalidate an authentication token in the Zen ERP system by providing the token value in the request body.

Inputs

  • Body (required) — A JSON object containing the 'token' string to invalidate.

Output shape

a single JSON object with the API response confirming token invalidation or errors if any occur

Returns the raw response from the Zen ERP API for the token invalidation request or an error object if the operation fails.

Examples

Example 1: Invalidate a user session token to force logout or revoke access.

Set the resource to 'System/Security' and operation to 'TokenOpInvalidate', then provide a JSON body with the 'token' key set to the token string to be invalidated.

Discussion