Skip to content
Management API Reference

[Beta] Gets project's network restrictions

get/v1/projects/{ref}/network-restrictions

OAuth scopes

  • projects:read

Path parameters

  • ref
    Required
    string

    Project ref

Response codes

  • 200
  • 401
  • 403
  • 429
  • 500

Response (200)

1
{
2
"entitlement": "disallowed",
3
"config": {
4
"dbAllowedCidrs": [
5
"lorem"
6
],
7
"dbAllowedCidrsV6": [
8
"lorem"
9
]
10
},
11
"old_config": {
12
"dbAllowedCidrs": [
13
"203.0.113.0/24"
14
],
15
"dbAllowedCidrsV6": [
16
"2001:db8::/32"
17
]
18
},
19
"status": "stored",
20
"updated_at": "2021-12-31T23:34:00Z",
21
"applied_at": "2021-12-31T23:34:00Z"
22
}