PATCH
Update the current account

Authorizations

Authorization
string
header
required

Developer session token from POST /v1/auth/login or POST /v1/auth/register. Valid 7 days.

Authenticates the developer control plane. It also reaches the server and build endpoints, which a dashboard has to drive and which no session can otherwise call: an API key's value is returned once, at mint, so nothing can read back a key for an existing project. On those endpoints a session names its project with project_id, or is resolved from the resource it addresses, and is always checked against the account that owns it.

It reaches no player-facing game endpoint.

Body

application/json

Partial update. plan is not settable here: use the billing endpoints, which handle payment methods and proration.

name
string
Example:

"Austin"

email
string<email>

Changing this changes the login identity. Rejected with EMAIL_ALREADY_EXISTS (1010) when another account already holds it.

Response

The updated account.

A developer account. One human, one login, one Stripe customer.

id
string
required
Example:

"acc_abc123"

email
string<email>
required
Example:

"dev@example.com"

plan
enum<string>
required

Billing plan for the account. Plan gates capability, not just price.

Available options:
free,
payg,
pro
Example:

"free"

created_at
string<date-time>
required
updated_at
string<date-time>
required
name
string
Example:

"Austin"