Twingate icon

Twingate

Interact with Twingate GraphQL API

Actions28

Group → Delete

AI-generated

Overview

This node interacts with the Twingate GraphQL API to manage groups within the Twingate network. Specifically, the 'Delete' operation for the 'Group' resource allows users to delete a group by its ID. This is useful for automating the removal of groups in Twingate, such as when cleaning up unused groups or managing access control dynamically.

Use Case Examples

  1. Deleting a group by specifying its Group ID to remove it from the Twingate network.
  2. Automating group management workflows by deleting groups based on certain triggers or conditions.

Properties

Name Meaning
Group ID The ID of the group to be deleted, required for the delete operation on the Group resource.

Output

JSON

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

Dependencies

  • Requires Twingate API credentials including network name and API token for authentication.

Troubleshooting

  • Common issues include providing an invalid or non-existent Group ID, which will cause the delete operation to fail.
  • API errors may occur if the API token is invalid or lacks sufficient permissions to delete groups.
  • Error messages from the GraphQL API are surfaced and should be checked for details on failure reasons.

Links

Discussion