Firewall Rules API not working with PUT

I have checked very carefully but can’t find the solution, can anyone help me?

      "code": 10014,
      "message": "firewallrules.api.malformed_request_body"