---
title: "Rotate Adapter Credential"
method: POST
path: "/v1/portal/credentials/rotate"
tags: ["portal"]
---

# Rotate Adapter Credential

`POST /v1/portal/credentials/rotate`

## Request

- Base URL: `https://app.teetra.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.teetra.com/v1/portal/credentials/rotate`
- Auth: none declared

Rotate upstream credential secret for an adapter with encryption.

## Request body

- CredentialRotateRequest
  - `adapter_id` string, required
  - `auth_type` string, required
  - `secret` string, required
  - `key_id` string, nullable
  - `grant_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/teetra/apis/warrant.md) · [All operations](https://skmtc.dev/teetra/apis/warrant/llms.txt) · [OpenAPI document](https://skmtc.dev/teetra/apis/warrant/revisions/a33505db716f?raw)
