PUT /v1/policy-executors/{policy_type}
PolicyService_UpdatePolicyExecutorAdoption
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
policy_typepath · string · required
Request body
expected_versionstringmodestringpolicy_typestring
cURL
curl --request PUT 'https://nexus-api.rainlib.com/v1/policy-executors/{policy_type}' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"expected_version": "<value>",
"mode": "<value>"
}'Response contract
200 · OK
adopted_atstringadopted_bystringcreated_atstringexecutorstringidstringmodestringpolicy_typestringupdated_atstringversionstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.