Skip to main content

Discard Outbound Pushes

POST 

/api/content-sync/pushes/discard

Discard changes so they are never sent. The channel keeps its current value. Applies to changes that are waiting, queued, held or failed.

Required scope: products:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Body parameters:

  • ids (array of integer, required unless apply_to_all is sent, 1–5000, distinct) — the changes to act on.
  • apply_to_all (boolean, optional) — true acts on every change matching filters instead of a list of ids.
  • filters (object, optional) — used with apply_to_all, in the shape of the List Outbound Pushes query: {"filter": {...}, "filter_groups": <base64 string or tree>}, or the filter[...] keys sent flat (e.g. {"status": "failed", "integration_instance_ids": "12"}). The same filter names apply. Changes in a status the action does not apply to are skipped; the response's affected counts the ones acted on.

Requires integrations.manage_content_sync. Authentication: Requires Bearer token. Scope: products:write.

Request​

Responses​

OK

Response Headers
    Content-Type