---
title: "UnpinCodes defines a governance operation for unpinning a set of code ids in the wasmvm cache. The authority is defined in the keeper."
method: POST
path: "/cosmwasm.wasm.v1.Msg/UnpinCodes"
tags: ["Msg"]
---

# UnpinCodes defines a governance operation for unpinning a set of code ids in the wasmvm cache. The authority is defined in the keeper.

`POST /cosmwasm.wasm.v1.Msg/UnpinCodes`

Since: 0.40

## Request body

- object — MsgUnpinCodes is the MsgUnpinCodes request type. Since: 0.40
  - `authority` string — Authority is the address of the governance account.
  - `code_ids` string[]

## Response `200`

A successful response.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/wardenprotocol/apis/http-api-console.md) · [All operations](https://skmtc.dev/wardenprotocol/apis/http-api-console/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wardenprotocol/http-api-console/revisions/44399dd0ab35/schema)
