---
title: "Add to Workspace"
method: POST
path: "/service-accounts/{serviceAccountId}/workspaces/{workspaceId}"
tags: ["Service Accounts"]
---

# Add to Workspace

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

Assigns a service account to a workspace

## Path parameters

- `serviceAccountId` integer, required
- `workspaceId` integer, required

## Response `200`

Service account added to workspace

## Other responses

- `409` — Service account is already in this workspace

---

[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/versions/f0b9f895fdd8/schema)
