---
title: "Replace usage plan group"
method: PUT
path: "/v1/UsagePlanGroups/{id}"
tags: ["UsagePlanGroups"]
---

# Replace usage plan group

`PUT /v1/UsagePlanGroups/{id}`

Replace an existing usage plan group.

## Path parameters

- `id` integer, required

## Request body

- RevAppModelsUsagePlanGroup
  - `usage_plan_group_id` integer — Primary identifier for this usage plan group.
  - `description` string — Short description (i.e. the name).
  - `long_description` string — Detailed description of the plan group.
  - `active` boolean — Indicates whether the group can be assigned.
  - `created_date` string, date-time — Date and time this group was created.
  - `created_by` integer — Foreign identifier indicating which user created it.
  - `links` RevAppComponentsLink[]
    - `rel` string
    - `href` string

## Response `200`

OK

- RevWebAPIModelsSuccess
  - `ok` boolean

## Other responses

- `400` — BadRequest
- `500` — InternalServerError

---

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