---
title: "Create a VariableSet"
method: POST
path: "/variableSets"
tags: ["resource-api"]
---

# Create a VariableSet

`POST /variableSets`

Create a VariableSet that can be used by tests and test suites

## Request body

- VariableSetResource — unresolved $ref

## Response `201`

successful operation

- VariableSetResource — unresolved $ref

## Other responses

- `500` — problem creating an VariableSet

## Changes

- **2023-08-03** `91036c61f8d9` — 1 info
  - endpoint added
- **2022-11-17** `9ee6203c38fa` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kubeshop/apis/tracetest/changes/variableSets/post.md)

---

[API](https://skmtc.dev/kubeshop/apis/tracetest.md) · [All operations](https://skmtc.dev/kubeshop/apis/tracetest/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kubeshop/tracetest/revisions/fad7f202ff22/schema)
