Create collection rule
POST/v1/collection-rules
Creates a collection rule, optionally with steps. Setting is_default unsets the previous default rule.
Request​
Responses​
- 201
- 400
- 401
- 403
- 404
- 413
- 429
- 500
Collection rule created (with classification and steps).
Invalid request (validation error).
Missing, invalid, expired or revoked token.
The token lacks the scope required by this operation, or the organization has no active plan (ENTITLEMENT_REQUIRED, with details.reason = no_plan or missing_product).
Resource not found or outside your organization.
Request body larger than 2 MB.
Rate limit exceeded (600 per minute per key; 60 invalid attempts per minute per IP). Wait for Retry-After.
Internal error. Retry; if it persists, contact support.