Community Discussion

Ask a Question
Back to All

Removing custom audience via API returns error

Hello,

According to docs to remove audience targeting we need to post an object with empty collection to update endpoint:
https://backstage.taboola.com/backstage/api/1.0/XXXX/campaigns/YYYYY/targeting/custom_audience

{
"collection":[]
}

It used to work fine but recently we are getting error 500.

Setting audience targeting using the same endpoint by posting non empty collection works fine.

Thanks