# Update service account

**PUT** `/v1/service-accounts/{id}`

**Operation ID**: `updateServiceAccount`
**Summary**: Update service account
Updates the name and role assignments of a service account

## Tags
- Service Accounts
## Parameters

- **id** (required) - path
  - Type: string

## Request Body

**Content-Type**: `application/json`

**Schema**: `UpdateServiceAccount`

## Responses

### 200

Service account updated successfully

- **Content-Type**: `application/json` / `ServiceAccountRead`
### 400

Invalid request

### 401

Unauthorized

### 403

Forbidden

### 404

Service account not found
