Create account

http
POST /accounts

Create a team account that the caller owns.

Request body

FieldTypeRequiredDescription
namestringYes
slugstringUnique 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

StatusDescription
201Account created; the caller is its owner
400Bad request
401Unauthorized
403Forbidden
409The unique slug is already in use; creation does not replay existing accounts.
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.