Update a WhatsApp campaign
<Note>You can use this API for WhatsApp only if you have setup your WhatsApp account on Brevo platform. To setup your WhatsApp account, follow the steps in the guide below.
[Activating Whatsapp](https://developers.brevo.com/docs/whatsapp-campaigns-1) in your account</Note>
<Note>This API requires the List and Segment ids as recipients in Body params.You can use the below Contact endpoints to get the required information.
[Get all the Lists](https://developers.brevo.com/reference/getlists-1)
[Get all the Segments](https://developers.brevo.com/reference/getsegments)</Note>
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Path parameters
campaignId
id of the campaign
Request
Values to update a WhatsApp Campaign
campaignName
Name of the campaign
campaignStatus
Status of the campaign
Allowed values:
recipients
Segment ids and List ids to include/exclude from campaign
rescheduleFor
Reschedule the sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) of campaign. **Prefer to pass your timezone in date-time format for accurate result.For example: 2017-06-01T12:30:00+02:00 Use this field to update the scheduledAt of any existing draft or scheduled WhatsApp campaign.
Response
WhatsApp campaign has been deleted