POST
/
admin
/
allowedIP
curl --request POST \
  --url https://api.syndicate.io/admin/allowedIP \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "projectId": "<string>",
  "ipRange": "<string>",
  "note": "<string>"
}'
{
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "ipRange": "<string>",
  "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

API Endpoint

https://api.syndicate.io/admin/allowedIP

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
projectId
string
required
ipRange
string
required

The IP range to allow, specified in CIDR notation.

note
string | null

Must be alphanumeric and may include spaces, . ! ? , ' -

Response

200 - application/json
id
string
required
createdAt
string
required
updatedAt
string | null
ipRange
string
required
projectId
string
required