Update IP Allowlist

PATCH {{baseUrl}}/api/v2/ip_allowlist

Edit the entries in the IP allowlist, and enable or disable it.

Request Body

{"data"=>{"type"=>"ip_allowlist", "attributes"=>{"enabled"=>true, "entries"=>[{"data"=>{"type"=>"ip_allowlist_entry", "attributes"=>{"cidr_block"=>"ex dolor", "created_at"=>"2009-12-03T11:44:52.134Z", "modified_at"=>"1959-12-24T16:13:38.278Z", "note"=>"id elit"}, "id"=>"velit consectetur E"}}, {"data"=>{"type"=>"ip_allowlist_entry", "attributes"=>{"cidr_block"=>"in eiusmod", "created_at"=>"1966-12-20T11:32:11.805Z", "modified_at"=>"2021-08-20T00:58:12.658Z", "note"=>"ea e"}, "id"=>"magna labore"}}]}, "id"=>"elit enim"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"data":{"type":"ip_allowlist","attributes":{"enabled":false,"entries":[{"data":{"type":"ip_allowlist_entry","attributes":{"cidr_block":"enim laborum","created_at":"1972-06-07T14:46:34.210Z","modified_at":"1988-01-07T19:10:13.916Z","note":"consectetur"},"id":"nisi tempor anim"}},{"data":{"type":"ip_allowlist_entry","attributes":{"cidr_block":"elit proident aliqua","created_at":"1993-08-08T22:37:24.691Z","modified_at":"1997-01-15T07:09:33.666Z","note":"sint officia"},"id":"dolore enim qui exercitation ni"}}]},"id":"quis amet"}}