Create Service Account
create-service-accountCreates an organization service account with an immutable name and stored role, returning its ID and details. Requires an admin user session or OAuth; API keys cannot manage service accounts.
Instructions
Create an organization service account with an immutable, unique name. Returns its ID, organization ID, name, description, and stored role. Requires an organization admin using a user session or OAuth; API keys cannot manage service accounts. This creates an identity without credentials. API key permissions are configured separately. An organization can have up to 100 service accounts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Immutable name: lowercase letters and digits separated by single hyphens. | |
| role | No | Stored organization role; API key permissions are configured separately. | member |
| description | No | Optional description, at most 2000 UTF-8 bytes. | |
| organization | Yes | Organization name from list-organizations. |