---
title: "Attach a variable set to a project"
method: POST
path: "/runners/variables/projects/{projectId}/variable-sets/{variableSetId}/attach"
tags: ["Variable Set Operations"]
---

# Attach a variable set to a project

`POST /runners/variables/projects/{projectId}/variable-sets/{variableSetId}/attach`

## Path parameters

- `projectId` string, required
- `variableSetId` string, required

## Request body

- object
  - `consume` boolean, required — Whether to consume the variable set values

## Response `204`

Variable set attached to project

---

[API](https://skmtc.net/firefly/apis/api-gateway.md) · [All operations](https://skmtc.net/firefly/apis/api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/firefly/api-gateway/revisions/eea119b4113f/schema)
