---
title: "Rotate Credential"
method: POST
path: "/api/connectors/{slug}/credentials/rotate"
tags: ["connectors"]
---

# Rotate Credential

`POST /api/connectors/{slug}/credentials/rotate`

## Request

- Base URL: `https://api.advisorppc.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.advisorppc.com/api/connectors/{slug}/credentials/rotate`
- Auth: HTTP bearer

## Path parameters

- `slug` string, required

## Headers

- `X-Tenant-Id` integer, nullable

## Request body

- RotateIn
  - `credentials` ConnectCredentials
    - `api_key` string, nullable

## Response `200`

Successful Response

- RotateOut
  - `slug` string, required
  - `status` string, required
  - `rotated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/advisorppc/apis/advisorppc-api.md) · [All operations](https://skmtc.dev/advisorppc/apis/advisorppc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/advisorppc/apis/advisorppc-api/revisions/3441bd729e0c?raw)
