---
title: "POST /v4/workspaces/{workspaceId}/service-accounts"
method: POST
path: "/v4/workspaces/{workspaceId}/service-accounts"
tags: ["Workspace Identities"]
---

# POST /v4/workspaces/{workspaceId}/service-accounts

`POST /v4/workspaces/{workspaceId}/service-accounts`

## Request

- Base URL: `https://api.merkl.xyz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.merkl.xyz/v4/workspaces/{workspaceId}/service-accounts`
- Auth: `apiKey` (a scheme the document does not define)

Create a service account without any operational right. Needs `service_account.create`. Grant it rights through a user group afterwards.

## Path parameters

- `workspaceId` string, uuid, required

## Request body

- object
  - `name` string, required

## Response `200`

Response for status 200

- object
  - `id` string, required
  - `name` string, required
  - `workspaceId` string, required
  - `disabled` boolean, required
  - `createdAt` string, required
  - `createdByUserId` string, nullable, required

## Changes

- **2026-10-22** `b32d82e3d5c9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/merkl/apis/merkl-api/changes/v4/workspaces/:workspaceId/service-accounts/post.md)

---

[API](https://skmtc.dev/merkl/apis/merkl-api.md) - [All operations](https://skmtc.dev/merkl/apis/merkl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/merkl/apis/merkl-api/revisions/60ffe2c7d887?raw)
