POST /v1/customer-segments/{segment_id}/revisions/{revision_id}:activate
TenantService_ActivateCustomerSegmentRevision
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 · requiredrevision_idpath · string · required
Request body
expected_versionstringrevision_idstringsegment_idstring
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/customer-segments/{segment_id}/revisions/{revision_id}:activate' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"expected_version": "<value>"
}'Response contract
200 · OK
condition_jsonstringcreated_atstringidstringrevision_nointeger · int32segment_idstringstatusstringupdated_atstringvalidation_report_jsonstringversionstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.