Audience
Delete audience
Changed onDelete a specific audience by its ID. Users can only delete audiences they created.
400 is returned if the audience is used by an active campaign: "can't delete audience, campaign with this audience <id> exists" Remove the campaign first, then retry deletion.
On success, data is always an empty array [].
delete/audience/{id}
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/audience/{id}
- AuthHTTP bearer
Path parameters
idstring required
Example:60d0fe4f5311236168a109ca
The unique identifier of the audience to delete
Response
Audience deleted successfully
Example response
{
"status": true,
"data": []
}Changes
- info
added the non-success response with the status
- info