Skip to content

Discard Draft Sync Config

DELETE
/audience-syncs/{config_id}/draft

Throw away a sync config that was never launched.

REFUSED with a 409 once any campaign on it has a platform id - at that point there is live platform state that discarding would orphan. Use DELETE /audience-syncs/{config_id} for a config that has launched.

Authorizations

Parameters

Path Parameters

config_id
required

The sync config’s id.

integer

The sync config’s id.

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

Successful Response

object
data
required

One ad-platform object, or one handler response.

object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
notes
Any of:
Array<string>
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer
total_available
Any of:
integer
total_is_lower_bound
Any of:
boolean

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string