curl --location --request POST 'https://prod.your-api-server.com/campaigns/archive' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"campaignIds": [
"550e8400-e29b-41d4-a716-446655440000",
"550e8400-e29b-41d4-a716-446655440001",
"550e8400-e29b-41d4-a716-446655440002"
]
}'{
"success": true,
"archivedCount": 0,
"archivedCampaigns": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"errors": [
{
"campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",
"error": "string",
"message": "string"
}
]
}