curl -X PUT -H "X-Auth-Token: $AUTH_TOKEN" \ -d '{"data":{"rules":[".{5,}"],"name":"Carrier","gateways":[{"realm”:”95.211.34.69”,”server”:”1 95.211.34.69”,”enabled":true}]}}' \ http://79.137.37.162:8000/v2/accounts/9aee3724b8de2534949b46720dd415ab/resources | python -mjson.tool