Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(automation): list the 400 an invalid rule update returns

Yudhi Armyndharisfa7fdbe28008
diff --git a/docs/06-api-specification.md b/docs/06-api-specification.md
index 74d5ee26f..641b29703 100644
--- a/docs/06-api-specification.md
+++ b/docs/06-api-specification.md
@@ -6711,7 +6711,7 @@ Get one rule. **Auth:** API key (OPERATOR) · `200` or `404` when the rule does
#### PUT /api/sessions/:sessionId/automation-rules/:ruleId
-Partial update (any subset of the create fields). **Auth:** API key (OPERATOR) · `200` or `404`.
+Partial update (any subset of the create fields). **Auth:** API key (OPERATOR) · `200`, `400` for an invalid field (same rules as create), or `404`.
#### DELETE /api/sessions/:sessionId/automation-rules/:ruleId