---
title: "Activate or deactivate a purchase configuration group"
method: PUT
path: "/v1/buy-config-groups/{id}/active"
tags: ["buy-config-admin"]
---

# Activate or deactivate a purchase configuration group

`PUT /v1/buy-config-groups/{id}/active`

## Path parameters

- `id` integer, required

## Request body

- HttpSetGroupActiveRequest
  - `active` boolean

## Response `200`

OK

- object

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/earnation/apis/earnation-api.md) · [All operations](https://skmtc.dev/earnation/apis/earnation-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/earnation/earnation-api/revisions/1219d1bf2177/schema)
