> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Aria Compute ROUTER Email Address

> PUT /v1/router/auth/email lets authenticated users update the email address associated with their Aria Compute ROUTER account.

Change the email address on your Aria Compute ROUTER account. This endpoint is restricted to the authenticated owner of the account and updates the email field immediately upon validation.

## Endpoint

```http theme={null}
PUT /v1/router/auth/email
```

## Authentication

Send the session cookie obtained from login, or include `Authorization: Bearer <api-key>`.

## Request Body

<ParamField body="email" type="string" required>
  New email address to associate with the account.
</ParamField>

## Response

<ResponseField name="id" type="string">
  Unique identifier of the user.
</ResponseField>

<ResponseField name="username" type="string">
  Username of the account.
</ResponseField>

<ResponseField name="email" type="string">
  Updated email address.
</ResponseField>

<ResponseField name="role" type="string">
  User role.
</ResponseField>

<ResponseField name="disabled" type="boolean">
  Whether the account is disabled.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X PUT https://router.example.com:8080/v1/router/auth/email \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer <api-key>" \
    -d '{"email":"newalice@example.com"}'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "user-abc123",
    "username": "alice",
    "email": "newalice@example.com",
    "role": "user",
    "disabled": false
  }
  ```
</ResponseExample>


## Related topics

- [Update Aria Compute ROUTER Users (Admin)](/api-reference/router/users/update.md)
- [Get Current Aria Compute ROUTER User](/api-reference/router/auth/me.md)
- [Change Aria Compute ROUTER Password](/api-reference/router/auth/password.md)
- [OAuth and Serve Account Linking for Router](/api-reference/router/auth/oauth.md)
- [Router Providers List and Upsert API](/api-reference/router/management/providers.md)
