# Save campaign behaviors atomically (/docs/api-reference/campaigns/save-campaign-behaviors-atomically)



{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Replace all of a campaign's behaviors in one step. Send the complete list. Either every change is saved, or none are.

<APIPage document="&#x22;../../apps/api/openapi/specs/openapi-public.yaml&#x22;" operations="[{&#x22;path&#x22;:&#x22;/v2/campaigns/{campaignId}/behaviors&#x22;,&#x22;method&#x22;:&#x22;put&#x22;}]" />
