/api/post-v1-admin-services-rehost-5a1e6ac58b
Войти
Все методы Admin CliAdminCliController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
POST/v1/admin/services/rehostAuthenticated

POST rehost

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

Operation ID
AdminCliController.rehostService.POST.v1_admin_services_rehost
Handler
cdp.gateway.cdp_gateway.admin.controller.AdminCliController#rehostService
Consumes
Producesapplication/json
Параметры0
Request bodyRehostServiceRequestDTO
Response bodyResponseWrapper<RunUpdateResponseDTO>
Request map

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

POST/v1/admin/services/rehost
Path segments
v1adminservicesrehost
Security
isAuthenticated()
Parameters

Параметры

У метода нет параметров.
Request / Response

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

Request bodyRehostServiceRequestDTO
Nullable: Нет
RehostServiceRequestDTO
object • RehostServiceRequestDTO
serviceKey
String
required • not-null
targetHost
String
required • not-null
sshPort
int
optional • not-null
rootUser
String
optional • not-null
rootPassword
String
required • not-null
stopLocalAfterSuccess
boolean
optional • not-null
detached
boolean
optional • not-null
Response bodyResponseWrapper<RunUpdateResponseDTO>
Nullable: Нет
ResponseWrapper<RunUpdateResponseDTO>
object • ResponseWrapper<RunUpdateResponseDTO>
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