v1

latestOpenAPI 3.0.02026-07-14169146300.3 KB
Projects

[Beta] Updates project's network restrictions

post/v1/projects/{ref}/network-restrictions/apply

Path parameters

refstring required
Example:abcdefghijklmnopqrst

Project ref

Request body

dbAllowedCidrsstring[]
dbAllowedCidrsV6string[]

Example request

{
  "dbAllowedCidrs": [
    "203.0.113.0/24"
  ],
  "dbAllowedCidrsV6": [
    "2001:db8::/32"
  ]
}

Response

entitlement'disallowed' | 'allowed' required
status'stored' | 'applied' required
updated_atstring date-time
applied_atstring date-time

Example response

{
  "old_config": {
    "dbAllowedCidrs": [
      "203.0.113.0/24"
    ],
    "dbAllowedCidrsV6": [
      "2001:db8::/32"
    ]
  }
}