Skip to main content
DELETE
/
organizations
/
{organization}
/
databases
/
{database}
/
cidrs
/
{id}
Delete an IP restriction entry
curl --request DELETE \
  --url https://api.planetscale.com/v1/organizations/{organization}/databases/{database}/cidrs/{id} \
  --header 'Authorization: Bearer <token>'

Documentation Index

Fetch the complete documentation index at: https://planetscale.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

organization
string
required

The name of the organization the database belongs to

database
string
required

The name of the database

id
string
required

The ID of the IP restriction entry

Response

IP restriction entry deleted successfully. Note: This will also remove the restriction from all database branches.