Aurion Docs
Api

Rotate Api Key

POST
/api/v1/api-keys/{api_key_id}/rotate
AuthorizationBearer <token>

In: header

Path Parameters

api_key_id*string
Formatuuid

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/api-keys/497f6eca-6276-4993-bfeb-53cbbbba6f08/rotate"
{
  "api_key": "string",
  "id": "string",
  "key_prefix": "string",
  "scopes": [
    "string"
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}