PATCH /v1/customer-segments/{segment_id}
TenantService_UpdateCustomerSegment
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
segment_idpath · string · required
Request body
descriptionstringexpected_versionstringnamestringsegment_idstringstatusstring
cURL
curl --request PATCH 'https://nexus-api.rainlib.com/v1/customer-segments/{segment_id}' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"description": "<value>",
"expected_version": "<value>",
"name": "<value>",
"status": "<value>"
}'Response contract
200 · OK
codestringcreated_atstringdescriptionstringenvironment_idstringidstringmember_countstringmodestringnamestringstatusstringupdated_atstringversionstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.