Issue
When using the Segment Public API Update Selective Sync for Warehouse and Space endpoint to configure which properties sync to a profiles warehouse, we encounter a 10-item limit per request. This becomes a challenge when managing hundreds of property-level overrides as configuration grows, especially in Infrastructure as Code (IaC) workflows.
Product
Segment
Environment
Segment Console
Cause
The 10-item limit per PATCH request is a design constraint of the Segment Public API. There is no bulk endpoint or configurable option to increase this limit.
Resolution
- To update more than 10 items, send multiple PATCH requests, each with up to 10 items.
- For large-scale configuration management, consider:
- Modifying automation to calculate and send only the changes (deltas) rather than the full configuration.
- Decoupling the update process from CI/CD pipelines by triggering an asynchronous function (such as AWS Lambda) to handle batching and rate limits outside of the main deployment workflow.