Website

Whitelist IP address for password-protected website

Adds an IP address to the whitelist for a password-protected website, allowing access without password authentication

post/v1/hosting/websites/{website_id}/whitelist/ip

Request

Path parameters

website_idinteger required

Headers

x-api-keystring required

API key for authentication

Request body

ipstring required

IP address to whitelist

Example request

{
  "ip": "192.168.1.1"
}

Response

IP address successfully whitelisted

status'ok'
messagestring

Success message

Example response

{
  "status": "ok",
  "message": "Successfully whitelisted"
}

Changes

No recorded changes to this operation across all 1 revision of this API.