---
title: "Changes to Update service-account token"
method: PATCH
path: "/api/organizations/{name}/service-accounts/{serviceAccountId}/tokens/{tokenId}"
---

# Changes to Update service-account token

`PATCH /api/organizations/{name}/service-accounts/{serviceAccountId}/tokens/{tokenId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 278 revisions.

- **2026-10-01** `02f8596075cd`: 1 info
- **2026-09-08** `bd17546f47b8`: 2 breaking
- **2026-08-19** `bfd4937641f1`: 1 info
- **2026-08-05** `17e54bbf244f`: 2 info
- **2026-07-26** `36390f25f00f`: 6 info

## Changes

- **2026-10-01** `02f8596075cd`: 1 info
  - added the new `repo.contribute.write` enum value to the request property `permissions/items/`
- **2026-09-08** `bd17546f47b8`: 2 breaking
  - the `permissions/items/` request property type changed from no type to `string`
  - the `repoPermissions/items/` request property type changed from no type to `string`
- **2026-08-19** `bfd4937641f1`: 1 info
  - added the new `org.auditLog.write` enum value to the request property `permissions/items/`
- **2026-08-05** `17e54bbf244f`: 2 info
  - added the new optional request property `skipNetworkSecurity`
  - added the required property `skipNetworkSecurity` to the response with the `200` status
- **2026-07-26** `36390f25f00f`: 6 info
  - added the new optional request property `endpointPatterns`
  - added the new optional request property `repoIds`
  - added the new optional request property `repoPermissions`
  - added the required property `endpointPatterns` to the response with the `200` status
  - added the required property `repoIds` to the response with the `200` status
  - added the required property `repoPermissions` to the response with the `200` status

---

[Operation](https://skmtc.dev/huggingface/apis/hub-api-endpoints/docs/api/organizations/:name/service-accounts/:serviceAccountId/tokens/:tokenId/patch.md) - [API](https://skmtc.dev/huggingface/apis/hub-api-endpoints.md) - [Page](https://skmtc.dev/huggingface/apis/hub-api-endpoints/changes/api/organizations/:name/service-accounts/:serviceAccountId/tokens/:tokenId/patch)
