v17

latestOpenAPI 3.0.1raw.githubusercontent.com2026-07-08165682.0 MB
Database Postgres IP restrictions

Get an IP restriction entry

Authorization

A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:

Service Token Accesses read_database, read_databases

OAuth Scopes

ResourceScopes
Organizationread_databases
Databaseread_database
get/organizations/{organization}/databases/{database}/cidrs/{id}

Path parameters

organizationstring required

The name of the organization the database belongs to

databasestring required

The name of the database

idstring required

The ID of the IP restriction entry

Response

Returns an IP restriction entry

idstring required

The ID of the IP allowlist entry

schemastring required

The schema name to restrict access to (optional)

rolestring required

The role to restrict access to (optional)

cidrsstring[] required

List of CIDR ranges

created_atstring required

When the entry was created

updated_atstring required

When the entry was updated

deleted_atstring nullable required

When the entry was deleted