Twingate icon

Twingate

Interact with Twingate GraphQL API

Actions28

User → Delete

AI-generated

Overview

This node interacts with the Twingate GraphQL API to manage users. Specifically, the 'Delete' operation for the 'User' resource allows deleting a user by their ID. This is useful in scenarios where user accounts need to be removed from the system, such as when a user leaves an organization or when cleaning up inactive accounts.

Use Case Examples

  1. Deleting a user by specifying their User ID to remove their access and data from Twingate.
  2. Automating user management workflows by integrating user deletion into broader automation processes.

Properties

Name Meaning
User ID The ID of the user to delete. This is a required string input that identifies which user will be deleted.

Output

JSON

  • ok - Indicates whether the deletion operation was successful.
  • error - Contains any error message if the deletion operation failed.

Dependencies

  • Twingate GraphQL API

Troubleshooting

  • Ensure the User ID provided is correct and exists in the Twingate system; otherwise, the deletion will fail.
  • Check that the API token credential used has sufficient permissions to delete users.
  • Common error messages include GraphQL errors or HTTP status errors, which may indicate issues with the query, authentication, or network connectivity. Verify the API token and network access.

Links

Discussion