---
title: "Update access token template"
method: PATCH
path: "/api/v2/user/accesstokentemplate/{id}"
tags: ["User"]
---

# Update access token template

`PATCH /api/v2/user/accesstokentemplate/{id}`

Partially updates an access token template owned by the authenticated user.
Only the fields provided in the request body will be updated.

## Path parameters

- `id` string, required

## Request body

- object — Request body for partially updating an access token template. Only the fields provided will be updated; omitted fields remain unchanged.
  - `name` string — New display name for the template (must be unique per user)
  - `tokenScopes` string[]
  - `allowedIPs` string[]
  - `tokenLimits` object — Updated spending limits configuration
    - `allErc20TokensLimit` AllErc20TokensTemplateLimit
      - `enabled` boolean
      - `txValueLimit` string
      - `maxLimit` boolean
    - `spendingLimits` object[]
      - `coin` string, required
      - `maxLimit` boolean
      - `txValueLimit` string
  - `permittedEnterprises` string[]
  - `permittedWallets` string[]

## Response `200`

OK

- AccessTokenTemplateResponse
  - `id` string, required
  - `name` string, required
  - `userId` string, required
  - `enterpriseId` string
  - `tokenScopes` string[]
  - `allowedIPs` string[]
  - `tokenLimits` TokenLimits
    - `spendingLimits` object[]
      - `coin` string, required
      - `txValueLimit` string
      - `maxLimit` boolean
    - `allErc20TokensLimit` AllErc20TokensTemplateLimit
      - `enabled` boolean
      - `txValueLimit` string
      - `maxLimit` boolean
  - `permittedEnterprises` string[]
  - `permittedWallets` string[]
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `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)
