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.
products:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Body parameters:
ids(array of integer, required unlessapply_to_allis sent, 1–5000, distinct) — the changes to act on.apply_to_all(boolean, optional) —trueacts on every change matchingfiltersinstead of a list of ids.filters(object, optional) — used withapply_to_all, in the shape of the List Outbound Pushes query:{"filter": {...}, "filter_groups": <base64 string or tree>}, or thefilter[...]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'saffectedcounts the ones acted on.
Requires integrations.manage_content_sync. Authentication: Requires Bearer token. Scope: products:write.
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.