---
title: "Update Service Account"
method: PATCH
path: "/v1/service-accounts/{service_account_id}"
tags: ["beta.service_accounts"]
---

# Update Service Account

`PATCH /v1/service-accounts/{service_account_id}`

Update a service account.

Requires the Workspace admin (`workspace_admin`) role.

## Path parameters

- `service_account_id` string, uuid, required

## Request body

- UpdateServiceAccountRequest
  - `description` string, nullable

## Response `200`

Successful Response

- ServiceAccount
  - `id` string, uuid, required
  - `name` string, required
  - `customer_id` string, uuid, required
  - `organization_id` string, uuid, required
  - `workspace_id` string, uuid, required
  - `description` string, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `deleted_at` string, date-time, nullable, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-23** `fa73befe1c61` — 2 breaking, 10 info
  - the request's body type changed from no type to `object`
  - the response's body type changed from no type to `object` for status `200`
  - added the new optional request property `description`
  - added the required property `created_at` to the response with the `200` status
  - …8 more
- **2026-09-16** `4cb0b5382d4f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mistral/apis/mistral-ai-api/changes/v1/service-accounts/:service_account_id/patch.md)

---

[API](https://skmtc.dev/mistral/apis/mistral-ai-api.md) · [All operations](https://skmtc.dev/mistral/apis/mistral-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mistral/apis/mistral-ai-api/revisions/fa73befe1c61?raw)
