Autional Autional
API Reference GitHub autional.com →

POST /auth/api-keys/{id}/rotate

Create a new Key and mark the old Key as inactive (24h grace period), return the new Key only once

API Key `bearerAuth` application/json

Responses

StatusDescriptionSchema
200Newly created API Key

Referenced Schemas

dto.CreateApiKeyResponse

FieldTypeRequiredExampleConstraintsDescription
created_at string No
environment string No
expires_at string No
id string No
name string No
raw_key string No
scopes array of

string

No
status string No

gitee_com_linmes_authms_micro-services_identity-service_internal_handler_dto.DataResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data object No
message string No