---
title: "Rotate bootstrap credential and invalidate children"
method: POST
path: "/credentials/rotate"
---

# Rotate bootstrap credential and invalidate children

`POST /credentials/rotate`

## Request

- Base URL: `https://contentsweep.ai/api/v1`
- URL: `https://contentsweep.ai/api/v1/credentials/rotate`
- Auth: HTTP bearer

## Request body

- object

## Response `200`

Success

- Credential
  - `organization_id` string
  - `credential_id` string
  - `access_token` string, required
  - `token_type` 'Bearer'
  - `expires_at` string, required
  - `scopes` string[]

## Other responses

- `402`: Payment required or insufficient credit; MPP challenge may be in WWW-Authenticate
- `409`: Idempotency conflict, stale quote or unreconciled submission
- `429`: Rate or capacity limit
- `503`: Capability not activated
- `default`: Structured denial or error

---

[API](https://skmtc.dev/contentsweep/apis/content-sweep-agent-api.md) · [All operations](https://skmtc.dev/contentsweep/apis/content-sweep-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/contentsweep/apis/content-sweep-agent-api/revisions/bf04acd6172e?raw)
