Skip to main content

v0/endpoints/{id}/security/ips REST API Endpoint

Creates a new endpoint IP.

Updated on
Sep 27, 2024

v0/endpoints/{id}/security/ips REST API Endpoint

Path Parameters

id
string
REQUIRED
The unique identifier for the specific endpoint

Body Parameters

ip
string
REQUIRED
The specific IP address that is allowed to access the API endpoint. Only requests originating from this IP address will be permitted

Returns

data
object
The data object which contains the following fields:
id
string
A unique identifier for the IP rule
ip
string
The IP address that is allowed to access the API endpoint
error
string
A field containing an error message if any issue occurs
Request
1
curl -X 'POST' \
2
'https://api.quicknode.com/v0/endpoints/{id}/security/ips' \
3
-H 'accept: */*' \
4
-H 'x-api-key: YOUR_API_KEY' \
5
-H 'Content-Type: application/json' \
6
-d '{
7
"ip": "{YOUR_IP_ADDRESS}"
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free