> For the complete documentation index, see [llms.txt](https://docs.luganodes.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.luganodes.com/apis/ethereum/authentication.md).

# Authentication

* [Supported Environments](#supported-environments)
* [Re issue API Key](#re-issue-api-key)

### Supported Environments

Luganodes supports the following environments on ETH, as defined below

<table data-header-hidden><thead><tr><th width="356">Base URL</th><th>ETH Network</th></tr></thead><tbody><tr><td><a href="https://holesky.eth-staking.lgns.net/api
">https://testnet.eth-staking.lgns.net</a></td><td>Hoodi Testnet</td></tr><tr><td><a href="https://mainnet.eth-staking.lgns.net/api">https://mainnet.eth-staking.lgns.net</a></td><td>Ethereum Mainnet </td></tr></tbody></table>

## Re-issue API Key

<mark style="color:green;">`POST`</mark> `/api/regenerate-api-key`

Re-issue a new API key for your account. This invalidates your previous API key.

#### Request Body

| Name                                       | Type   | Description   |
| ------------------------------------------ | ------ | ------------- |
| email<mark style="color:red;">\*</mark>    | String | Email of user |
| password<mark style="color:red;">\*</mark> | String | Password      |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
  "result": {
    "user": {
      "apiKey": "isqMH8hfQB4IOf7CqPwEdQdQIP6Af6Ux3BWQJP6auF4="
    }
  }
}
```

{% endtab %}
{% endtabs %}

#### Sample Request

```bash
curl --location -g '{{url}}/api/regenerate-api-key' \
--data-raw '{
    "email": "test@luganodes.com",
    "password": "gJHKLL47JihNs9"
}'
```
