---
updatedAt: 2025-06-05T08:36:40.000Z
agentTools:
  projectIndex: https://sectigoweb.dev/llms.txt
---

# API Key Rotation

This endpoint rotates the API key. No parameters are required.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-keys-1",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://platform.sectigo.com/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "query",
        "name": "api_key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api_keys": {
      "post": {
        "summary": "API Key Rotation",
        "description": "",
        "operationId": "api-keys",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\"api_key\":\"83a3c57f3be95ec33209f69d4f8ef503\"}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "api_key": {
                      "type": "string",
                      "example": "83a3c57f3be95ec33209f69d4f8ef503"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error\":{\n    \"Could not find partner with api_key: 83a3c57f3be95ec33209f69d4f8ef503\"\n  }\n}"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```