/api/post-v1-admin-services-servicekey-env-c62eb13cee
Войти
Все методы Admin CliAdminCliController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
POST/v1/admin/services/{serviceKey}/envAuthenticated

POST env

Маршрут POST /v1/admin/services/{serviceKey}/env из AdminCliController. Детализация собрана из API manifest gateway.

Operation ID
AdminCliController.updateServiceEnvSettings.POST.v1_admin_services__serviceKey__env
Handler
cdp.gateway.cdp_gateway.admin.controller.AdminCliController#updateServiceEnvSettings
Consumes
Producesapplication/json
Параметры1
Request bodyServiceEnvSettingsUpdateRequestDTO
Response bodyResponseWrapper<ServiceEnvSettingsUpdateResponseDTO>
Request map

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

POST/v1/admin/services/{serviceKey}/env
Path segments
v1adminservices{serviceKey}env
Security
isAuthenticated()
Parameters

Параметры

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

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

Request bodyServiceEnvSettingsUpdateRequestDTO
Nullable: Нет
ServiceEnvSettingsUpdateRequestDTO
object • ServiceEnvSettingsUpdateRequestDTO
items
List<ServiceEnvSettingChangeDTO>
optional • not-null
restartService
boolean
optional • not-null
Response bodyResponseWrapper<ServiceEnvSettingsUpdateResponseDTO>
Nullable: Нет
ResponseWrapper<ServiceEnvSettingsUpdateResponseDTO>
object • ResponseWrapper<ServiceEnvSettingsUpdateResponseDTO>
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