[Alpha] Updates project's network restrictions by adding or removing CIDRs
patch
/v1/projects/{ref}/network-restrictionsOAuth scopes
- projects:write
Path parameters
- refRequiredstring
Project ref
Body
- addOptionalobject
- removeOptionalobject
Response codes
- 200
- 401
- 403
- 429
- 500
Response (200)
1{2 "entitlement": "disallowed",3 "config": {4 "dbAllowedCidrs": [5 {6 "address": "lorem",7 "type": "v4"8 }9 ]10 },11 "old_config": {12 "dbAllowedCidrs": [13 {14 "address": "lorem",15 "type": "v4"16 }17 ]18 },19 "updated_at": "2021-12-31T23:34:00Z",20 "applied_at": "2021-12-31T23:34:00Z",21 "status": "stored"22}