unassign_variable_set_from_projects
Remove a variable set from specified projects in Terraform Cloud, ensuring the variables are no longer available in associated workspaces. Use the DELETE API endpoint to manage project-variable assignments effectively.
Instructions
Remove a variable set from one or more projects.
Removes the variable set assignment from the specified projects. The variables will no longer be available in workspaces within those projects.
API endpoint: DELETE /varsets/{varset_id}/relationships/projects
Args: varset_id: The ID of the variable set (format: "varset-xxxxxxxx") project_ids: List of project IDs (format: ["prj-xxxxxxxx", ...])
Returns: Empty response with HTTP 204 status code if successful
See: docs/tools/variables.md#unassign-variable-set-from-projects for reference documentation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
project_ids | Yes | ||
varset_id | Yes |