Skip to main content

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

Create an endpoint domain mask.

Updated on
Sep 27, 2024

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

Path Parameters

id
string
REQUIRED
The unique identifier for the specific endpoint

Body Parameters

domain_mask
string
REQUIRED
The domain mask that you will use to mask your endpoint

Returns

data
object
The data object which contains the following fields:
id
string
A unique identifier for the domain mask
domain_mask
string
The domain mask that you used to mask your 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/domain_masks' \
3
-H 'accept: */*' \
4
-H 'x-api-key: YOUR_API_KEY' \
5
-H 'Content-Type: application/json' \
6
-d '{
7
"domain_mask": "{YOUR_DOMAIN_MASK}"
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free