---
title: "Create Service Account"
method: POST
path: "/service-accounts"
tags: ["Service Accounts"]
---

# Create Service Account

`POST /service-accounts`

Creates a new service account with auto-generated credentials

## Request body

- CreateServiceAccountRequest
  - `name` string, required
  - `workspaceIds` integer[], required

## Response `201`

Service account created successfully

---

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