http
POST /accountsCreate a team account that the caller owns.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
slug | string | Unique account slug. Omit to derive it deterministically from the name. A duplicate slug is rejected as already existing; creation does not replay the existing account. Filter the account list by slug to find it. |
Responses
| Status | Description |
|---|---|
| 201 | Account created; the caller is its owner |
| 400 | Bad request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 409 | The unique slug is already in use; creation does not replay existing accounts. |
| 500 | Server error |
| 503 | internal: authentication state is temporarily unavailable and the request was not processed; retry shortly. |