Disable an active learning rule
POST/api/v1/learning/rules/:rule_id/disable
Requires metadata.manage and an exact same-origin mutation proof. Disabling preserves the rule and its application history.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 412
- 422
- 428
- 503
Coherent learning snapshot after disabling the rule
The multipart shape or Idempotency-Key is malformed
The opaque credential is absent, ambiguous, malformed, expired, revoked, or invalid
The browser mutation did not originate from this application, or the authenticated member lacks the required permission
The resource is unknown or outside the authenticated household scope
Duplicate content is disallowed, or an idempotency key was reused for a different request
The strong revision precondition is stale
The supplied bytes, filename, declared field value, or supported-content validation failed
Exactly one valid strong If-Match value is required
A required core dependency is unavailable; retry with bounded backoff