> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/sdks-and-cli/account/regenerate/regenerate-api-keys.md).

# Regenerate Api Keys

The Account & Projects area manages your Norbix account and its projects — projects and environments, team members and their roles, billing and usage, and account-level settings. Regenerates the api keys. `POST /apikeys/regenerate`

{% hint style="info" %}
Full request/response reference will appear here once this method is added to the API spec.
{% endhint %}

This method is on the runtime **API** surface (`norbix.api.apikeys`) — call it from your app.

{% hint style="info" %}
These examples assume the SDK is installed and your credentials are set as environment variables — each client reads them automatically, so the constructors below take no arguments. See [Install a Norbix SDK](/sdks-and-cli/install.md).
{% endhint %}

{% tabs %}
{% tab title="JavaScript / TypeScript" %}

```ts
import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();

const result = await norbix.api.apikeys.regenerateApiKeys({
  environment: 'TEST',
});
```

{% endtab %}

{% tab title=".NET" %}

```csharp
using Norbix.Sdk;
using Norbix.Sdk.Types.Api;

using var client = new NorbixClient();

var result = await client.Apikeys.RegenerateApiKeysAsync(new RegenerateApiKeys
{
    Environment = "TEST",
});
```

{% endtab %}

{% tab title="Python" %}

```python
from norbix_python import NorbixApi

norbix = NorbixApi()

result = norbix.apikeys.regenerate_api_keys(
    environment="TEST",
)
```

{% endtab %}

{% tab title="Dart / Flutter" %}

```dart
import 'package:norbix/norbix_api.dart';

final api = NorbixApi();

final result = await api.apiKeys.regenerateApiKeys(body: {
  'environment': 'TEST',
});
```

{% endtab %}

{% tab title="Swift" %}

```swift
import NorbixSwift

let client = Norbix()

let result = try await client.api.apikeys.regenerateApiKeys([
    "environment": "TEST",
])
```

{% endtab %}

{% tab title="Kotlin" %}

```kotlin
import dev.norbix.sdk.api.NorbixApi

val api = NorbixApi()

val result = api.apikeys.regenerateApiKeys(mapOf(
    "environment" to "TEST",
))
```

{% endtab %}

{% tab title="CLI" %}

```sh
norbix apikeys regenerate
```

{% endtab %}
{% endtabs %}

{% hint style="warning" %}
Go examples for this page are still in the works — we are verifying the exact SDK shapes and will add them shortly. The method itself is available in every Norbix SDK.
{% endhint %}

## In the dashboard

Manage this visually in Norbix Cloud — see [Account & Projects → Regenerate](/norbix-cloud/project.md).

## API reference

Full request and response for this endpoint: [Regenerate Api Keys](/api-reference/account/regenerate/regenerate-api-keys.md).
