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

# Changes to Create service-account token

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

> 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`: 8 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 `tokenInfo/skipNetworkSecurity` to the response with the `201` status
- **2026-07-26** `36390f25f00f`: 8 info
  - added the new optional request property `endpointPatterns`
  - added the new optional request property `repoIds`
  - added the new optional request property `repoPermissions`
  - the request property `permissions` became optional
  - the `permissions` request property default value `` was added
  - added the required property `tokenInfo/endpointPatterns` to the response with the `201` status
  - added the required property `tokenInfo/repoIds` to the response with the `201` status
  - added the required property `tokenInfo/repoPermissions` to the response with the `201` status

---

[Operation](https://skmtc.dev/huggingface/apis/hub-api-endpoints/docs/api/organizations/:name/service-accounts/:serviceAccountId/tokens/post.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/post)
