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
- Base URLhttps://api.10web.io
- Authnone declared. Required headers: x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
website_idinteger required
Headers
x-api-keystring required
API key for authentication
Request body
Example request
{
"ip": "192.168.1.1"
}Response
IP address successfully whitelisted
Example response
{
"status": "ok",
"message": "Successfully whitelisted"
}Changes
No recorded changes to this operation across all 1 revision of this API.