Skip to main content
POST
/
admin
/
settings
/
ip-blocking
/
allowed-ips
Add Allowed Ip
curl --request POST \
  --url https://api.decodahealth.com/admin/settings/ip-blocking/allowed-ips \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "ipAddress": "<string>",
  "description": "<string>"
}
'
{
  "id": "<string>",
  "ipAddress": "<string>",
  "createdDate": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "createdByName": "<string>"
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json

Schema for creating an allowed IP address.

ipAddress
string
required
description
string | null

Response

Successful Response

Schema for an allowed IP response.

id
string
required
ipAddress
string
required
createdDate
string<date-time>
required
description
string | null
createdByName
string | null