---
title: "POST /integrationruntimes/{integrationRuntimeName}:regenerateAuthKey"
method: POST
path: "/integrationruntimes/{integrationRuntimeName}:regenerateAuthKey"
tags: ["IntegrationRuntimes"]
---

# POST /integrationruntimes/{integrationRuntimeName}:regenerateAuthKey

`POST /integrationruntimes/{integrationRuntimeName}:regenerateAuthKey`

Regenerates the authentication key for an integration runtime.

## Path parameters

- `integrationRuntimeName` string, required

## Query parameters

- `api-version` string, required

## Request body

- IntegrationRuntimeRegenerateKeyParameters — Parameters to regenerate the authentication key.
  - `keyName` 'authKey1' | 'authKey2' — The name of the authentication key to regenerate.

## Response `200`

Success.

- IntegrationRuntimeAuthKeys — The integration runtime authentication keys.
  - `authKey1` string — The primary integration runtime authentication key.
  - `authKey2` string — The secondary integration runtime authentication key.

## Other responses

- `default` — An error response received from the Scanning Service.

---

[API](https://skmtc.net/azure/apis/purview-scanning.md) · [All operations](https://skmtc.net/azure/apis/purview-scanning/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/purview-scanning/versions/1dc732ab31fc/schema)
