createAccessRule.json 621 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "success": true,
  3. "errors": [
  4. {}
  5. ],
  6. "messages": [
  7. {}
  8. ],
  9. "result": {
  10. "id": "92f17202ed8bd63d69a66b86a49a8f6b",
  11. "notes": "This rule is on because of an event that occured on date X",
  12. "allowed_modes": [
  13. "whitelist",
  14. "block",
  15. "challenge"
  16. ],
  17. "mode": "challenge",
  18. "configuration": {
  19. "target": "ip",
  20. "value": "1.2.3.4"
  21. },
  22. "scope": {
  23. "id": "7c5dae5552338874e5053f2534d2767a",
  24. "email": "user@example.com",
  25. "type": "user"
  26. },
  27. "created_on": "2014-01-01T05:20:00.12345Z",
  28. "modified_on": "2014-01-01T05:20:00.12345Z"
  29. }
  30. }