Actions28
Resource → Update
AI-generatedOverview
This node interacts with the Twingate GraphQL API to perform various operations on different resources such as users, resources, connectors, remote networks, groups, and access requests. Specifically, for the 'Resource' resource with the 'Update' operation, it updates the details of an existing resource by its ID, allowing changes such as updating the resource's name. This node is useful for automating management tasks in Twingate, such as updating resource information programmatically within workflows.
Use Case Examples
- Updating the name of a resource identified by its Resource ID to keep resource information current.
- Automating resource updates in response to changes in network infrastructure or organizational needs.
Properties
| Name | Meaning |
|---|---|
| Resource ID | The ID of the resource to update, required to identify which resource to modify. |
| Name | The new name to update the resource with, optional and used to change the resource's name. |
Output
JSON
id- The unique identifier of the updated resource.name- The updated name of the resource.
Dependencies
- Twingate GraphQL API
Troubleshooting
- Ensure the Resource ID provided is correct and exists in the Twingate system to avoid errors.
- Verify that the API token credential for Twingate is valid and has sufficient permissions to update resources.
- Common errors include GraphQL errors returned from the API, which may indicate invalid input or permission issues. The node throws detailed error messages including HTTP status codes and GraphQL error messages to help diagnose problems.
Links
- Twingate GraphQL API Documentation - Official documentation for the Twingate GraphQL API used by this node.