---
title: "Create service account"
method: POST
path: "/api/organizations/{name}/service-accounts"
tags: ["service-accounts"]
---

# Create service account

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

Create a new service account for the organization.

## Path parameters

- `name` string, required

## Request body

- object
  - `name` string, required — Display name for the service account
  - `description` string — Optional description of what this service account is used for

## Response `201`

Created service account

- object
  - `_id` string, required
  - `user` string, required
  - `fullname` string, required
  - `description` string
  - `createdAt` string, required

---

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