# Create a service account

**POST** `/v1/service-accounts`

**Operation ID**: `createServiceAccount`
**Summary**: Create a service account
Creates a new service account with OAuth2 client credentials for programmatic API access

## Tags
- Service Accounts
## Request Body

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

**Schema**: `CreateServiceAccount`

## Responses

### 200

Service account created successfully

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

Invalid request

### 401

Unauthorized

### 403

Forbidden

### 500

Service accounts not supported or internal error
