/api/post-v1-projects-projectuuid-api-keys-apikeyuuid-rotate-3793a8968c
Войти
Все методы Api KeyApiKeyController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
POST/v1/projects/{projectUuid}/api-keys/{apiKeyUuid}/rotateAuthenticated

POST rotate

Выпускает новый secret для существующего API key проекта.

Operation ID
ApiKeyController.rotateApiKey.POST.v1_projects__projectUuid__api-keys__apiKeyUuid__rotate
Handler
cdp.gateway.cdp_gateway.api.api_key.controller.ApiKeyController#rotateApiKey
Consumes
Produces
Параметры2
Request bodyНет
Response bodyResponseWrapper<RotateProjectApiKeyResponseDTO>
Request map

Маршрут и контракт запроса

POST/v1/projects/{projectUuid}/api-keys/{apiKeyUuid}/rotate
Path segments
v1projects{projectUuid}api-keys{apiKeyUuid}rotate
Security
isAuthenticated()
Parameters

Параметры

ИмяИсточникТипОбязательныйNullableSchema
projectUuid
pathStringДаНет
apiKeyUuid
pathStringДаНет
Request / Response

Тела запроса и ответа

Request bodyНет
Nullable: Нет
У этого метода нет request body schema.
Response bodyResponseWrapper<RotateProjectApiKeyResponseDTO>
Nullable: Нет
ResponseWrapper<RotateProjectApiKeyResponseDTO>
object • ResponseWrapper<RotateProjectApiKeyResponseDTO>
success
boolean
required • not-null
data
T
optional • nullable
error
CdpErrorResponse
optional • nullable • schema=CdpErrorResponse
CdpErrorResponse
object • CdpErrorResponse
errorId
String
required • not-null
code
String
required • not-null
message
String
required • not-null
details
Map<String, Object>
optional • not-null
fieldErrors
List<CdpFieldError>
optional • not-null
timestamp
long
optional • not-null
meta
Map<String, Object>
optional • not-null