# Change a Token

Change a token of your tenant's list. For the `owner`, `tenantadmin`, `non_signing_admin` and `editor` roles, on their own tenant.

## Endpoint

### `PATCH /v1/admin/tenants/{tenantId}/tokens/{tokenId}`

Authentication: bearer token required.

Updates the fields you send. A new EVM address gets the same checks as on Create Token; the same address in another letter case is the same token and is stored in its EIP-55 form.

**Path parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `tenantId` | string | yes | Your tenant's id |
| `tokenId` | string | yes | Token UUID |

**Request body**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | no | Token name |
| `address` | string | no | Contract address (EVM address or Solana mint), or null |
| `decimals` | integer | no | Decimals (0–18) |
| `logoUri` | string | no | Logo URL, or null |
| `coingeckoId` | string | no | Price-feed id, or null |
| `isActive` | boolean | no | Active status |

**Responses**

`200` OK

```json
{
  "id": "uuid",
  "symbol": "XAUT",
  "name": "Tether Gold",
  "chain": "ethereum",
  "isTestnet": false,
  "chainId": 1,
  "decimals": 6,
  "isNative": false,
  "isActive": true,
  "address": "0x68749665FF8D2d112Fa859AA293F07A622782F38",
  "logoUri": "https://cdn.example.com/xaut.png",
  "coingeckoId": null,
  "createdAt": "2026-10-06T09:48:53.869Z",
  "updatedAt": "2026-10-06T09:48:53.911Z"
}
```

`400` Bad Request

```json
{
  "error": "BadRequestError",
  "message": "The token address has a wrong EIP-55 checksum: check it for a typo, or send it in lower case",
  "details": { "code": "TOKEN_ADDRESS_CHECKSUM_INVALID", "field": "address" }
}
```

`404` Not Found

```json
{ "error": "NotFoundError", "message": "Token not found" }
```

`422` Unprocessable Entity

```json
{
  "error": "ValidationError",
  "message": "No contract exists at this address on chain 1",
  "details": { "code": "TOKEN_ADDRESS_NOT_A_CONTRACT", "field": "address", "chainId": 1 }
}
```

`503` Service Unavailable

```json
{
  "error": "ServiceUnavailableError",
  "message": "The token address cannot be checked: the node for chain 1 did not answer",
  "details": { "code": "TOKEN_ADDRESS_UNVERIFIED", "chainId": 1, "retryable": true }
}
```

**Example request**

```bash
curl -X PATCH https://api.aureahub.com/v1/admin/tenants/TENANT_ID/tokens/TOKEN_ID \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"logoUri":"https://cdn.example.com/xaut.png"}'
```

---

Web version: https://docs.aureahub.com/#admin-tokens-update
