---
title: "Pin or unpin a wallet"
method: PUT
path: "/api/v2/wallet/{walletId}/pin"
tags: ["Wallet"]
---

# Pin or unpin a wallet

`PUT /api/v2/wallet/{walletId}/pin`

Pins or unpins a wallet and returns updated pinned wallets for the current user's enterprise.

## Path parameters

- `walletId` string, required

## Request body

- object
  - `isPinned` boolean, required

## Response `200`

OK

- UpdatePinnedWalletsResponse
  - `pinnedWallets` PinnedWallets, required
    - `enterpriseId` string, required
    - `userId` string, required
    - `wallets` string[], required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `409` — Conflict

---

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