---
title: "Update appkey"
method: PUT
path: "/api/vlm/appkeys/{id}"
tags: ["App Keys"]
---

# Update appkey

`PUT /api/vlm/appkeys/{id}`

Activates or deactivates an `appKey` by its ID.

## Path parameters

- `id` string, required

## Request body

- UpdateappkeyRequest — Request body for activating/deactivating application keys
  - `isActive` boolean, required — If the application key should be active or inactive

## Response `200`

Success

## Other responses

- `400` — Bad Request

## Changes

- **2022-01-28** `ca8bd421f133` — 2 warning
  - deleted the `path` request parameter `accountName`
  - deleted the `path` request parameter `environment`
- **2021-11-09** `7a2ee1e98a24` — 1 info
  - added the non-success response with the status `400`

[Change history](https://skmtc.dev/vtex/apis/license-manager-api/changes/api/vlm/appkeys/:id/put.md)

---

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