Actions108
- Activity Log Actions
- Consent Analysis Actions
- Cookie Scanner Actions
- Data Cleansing Actions
- Destination Actions
- Event Delivery Actions
- Event Enrichment Actions
- Live Report Builder Actions
- Mix Collect Redirect Rule Actions
- Monitoring Actions
- Normalized Datalayer Actions
- Segment Actions
- Source Actions
- Sources Data Quality Actions
- User Actions
- Web Container Actions
- Create Web Constraint
- Create Web Container
- Create Web Perimeter
- Create Web Tag
- Create Web Trigger
- Delete Web Constraint
- Delete Web Container
- Delete Web Perimeter
- Delete Web Tag
- Delete Web Trigger
- Get Web Constraint
- Get Web Perimeter
- Get Web Tag
- Get Web Trigger
- List Web Constraints
- List Web Containers
- List Web Perimeters
- List Web Tags
- List Web Triggers
- Revert Web Tag
- Update Web Constraint
- Update Web Container
- Update Web Perimeter
- Update Web Tag
- Update Web Trigger
- Web Containers Variable Actions
- Create Web Datalayer Variables
- Create Web Datalayer Variables Category
- Create Web Internal Variables
- Delete Web Datalayer Variables
- Delete Web Datalayer Variables Category
- Delete Web Internal Variables
- Get Web Datalayer Variables
- Get Web Internal Variables
- List Web Datalayer Variables
- List Web Internal Variables
- Workspace Actions
Overview
This node integrates with the Commanders Act API, specifically allowing management of "Web Containers Variables" among many other resources. The "Delete Web Internal Variables" operation enables users to delete internal variables within web containers managed by Commanders Act.
Use cases include:
- Removing obsolete or incorrect internal variables from your web container setup.
- Automating cleanup tasks in your tag management system.
- Managing web container variables programmatically as part of a larger workflow.
For example, if you have an internal variable that is no longer needed or was created by mistake, this node can delete it via the API without manual intervention.
Properties
| Name | Meaning |
|---|---|
| Internal Variable ID | The unique identifier of the internal variable to delete. |
| Query Parameters | Optional parameters to customize the API request. Includes options like end, filter, page, sort, etc. (various filtering and pagination options). |
| Token | An optional token parameter (password type) for additional authentication or API usage. |
The main required property for this operation is Internal Variable ID, which specifies which internal variable will be deleted.
Output
The output is a JSON array containing the response from the Commanders Act API after attempting to delete the specified internal variable.
- If the deletion is successful and the API returns data, the node outputs that data parsed as JSON.
- If the API returns an empty string or no content, the node outputs a status code message
"204 No Content". - The output does not include binary data.
Example output JSON might look like:
[
{
"status": "success",
"message": "Internal variable deleted successfully"
}
]
or simply:
[
{
"Status Code": "204 No Content"
}
]
Dependencies
- Requires an API key credential for Commanders Act API authentication.
- The node uses the base URL
https://api.commander1.com/v2for all requests. - The user must configure the Commanders Act API credentials in n8n before using this node.
Troubleshooting
- Missing Internal Variable ID: The node throws an error if the Internal Variable ID is not provided when performing the delete operation. Ensure this ID is set correctly.
- API Authentication Errors: If the API key credential is missing or invalid, the node will throw an authentication error. Verify your API credentials.
- HTTP Errors from API: Any HTTP errors returned by the Commanders Act API (e.g., 404 if the variable does not exist, 403 for permission issues) will be surfaced as node errors. Check the variable ID and permissions.
- Malformed Query Parameters: Incorrectly formatted query parameters may cause API errors. Use valid JSON or strings as expected.
- Empty Response Handling: The node handles empty responses gracefully by returning a 204 status message, but if unexpected, verify the API endpoint and parameters.
Links and References
- Commanders Act API Documentation (general reference for API endpoints)
- n8n documentation on Using Credentials
- n8n documentation on HTTP Request Node (for understanding underlying request mechanics)
This summary focuses on the "Delete Web Internal Variables" operation under the "Web Containers Variable" resource as requested.