/api/put-v1-messages-segments-segmentuuid-d3aedd3c6a
Войти
Все методы SegmentSegmentController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
PUT/v1/messages/segments/{segmentUuid}Authenticated

PUT segments

Маршрут PUT /v1/messages/segments/{segmentUuid} из SegmentController. Детализация собрана из API manifest gateway.

Operation ID
SegmentController.update.PUT.v1_messages_segments__segmentUuid_
Handler
cdp.gateway.cdp_gateway.company.features.segment.controller.SegmentController#update
Consumes
Producesapplication/json
Параметры1
Request bodySegmentUpdateGatewayRequestDTO
Response bodyResponseWrapper<Object>
Request map

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

PUT/v1/messages/segments/{segmentUuid}
Path segments
v1messagessegments{segmentUuid}
Security
isAuthenticated()
Parameters

Параметры

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

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

Request bodySegmentUpdateGatewayRequestDTO
Nullable: Нет
SegmentUpdateGatewayRequestDTO
object • SegmentUpdateGatewayRequestDTO
name
String
required • not-null
description
String
optional • nullable
status
SegmentStatusDTO
required • not-null • schema=SegmentStatusDTO
SegmentStatusDTO
enum • SegmentStatusDTO
DRAFTACTIVEARCHIVED
Поля не описаны в manifest.
definitionJson
String
required • not-null
Response bodyResponseWrapper<Object>
Nullable: Нет
ResponseWrapper<Object>
object • ResponseWrapper<Object>
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