diff --git a/api/client-server/pushrules.yaml b/api/client-server/pushrules.yaml index 8ac50ac7..475160bd 100644 --- a/api/client-server/pushrules.yaml +++ b/api/client-server/pushrules.yaml @@ -470,14 +470,21 @@ paths: description: | The identifier for the rule. - in: body - name: + name: body description: | Whether the push rule is enabled or not. required: true schema: - type: boolean + type: object + properties: + enabled: + type: boolean + description: Whether the push rule is enabled or not. + required: ["enabled"] example: |- - true + { + "enabled": true + } responses: 200: description: The push rule was enabled or disabled.