netconn-api/v2.0/samples/rules-security-groups-post-req-json-http.txt
Diane Fleming 1397c31240 Fix JSON validation errors
Closes-Bug: #1283712

Change-Id: Iea9a63251b7702a33fcdb54c71bfc638774d0418
author: diane fleming
2014-02-24 11:18:00 -06:00

13 lines
363 B
Plaintext

POST /v2.0/security-group-rules.json
Accept: application/json
{
"security_group_rule":{
"direction":"ingress",
"port_range_min":"80",
"ethertype":"IPv4",
"port_range_max":"80",
"protocol":"tcp",
"remote_group_id":"85cc3048-abc3-43cc-89b3-377341426ac5",
"security_group_id":"a7734e61-b545-452d-a3cd-0189cbd9747a"
}
}