post
https://sandbox-api.viantinc.com/{basePath}/fee/removeCampaignFees
Removes the supplied fee type ids from the specified Campaign.
Request
POST /fee/removeCampaignFees?campaign_id=[campaign_id]
Response
| JSON Fields | Type | Description |
|---|---|---|
| messages | Object Array | An array of any error messages. |
| messages[].level | String | Error level. |
| messages[].code | String | Error code. |
| messages[].message | String | Error message. |
| entity | Integer Array | An array of fee type ids |
Example
Request
curl -u <user>:<password> -X POST -H "Content-Type: application/json" -d '[877]' https://sandbox-api.viant.com/v1/fee/removeCampaignFees?campaign_id=2367Response
{
"messages": [],
"entity": [787,727]
}