Whitelist an IP address

databases_post_whitelist_ips(id, subnet_mask)

Arguments

id

integer required. The ID of the database this rule is applied to.

subnet_mask

string required. The subnet mask that is allowed by this rule.

Value

A list containing the following elements:

id

integer, The ID of this whitelisted IP address.

remoteHostId

integer, The ID of the database this rule is applied to.

securityGroupId

string, The ID of the security group this rule is applied to.

subnetMask

string, The subnet mask that is allowed by this rule.

authorizedBy

string, The user who authorized this rule.

isActive

boolean, True if the rule is applied, false if it has been revoked.

createdAt

string, The time this rule was created.

updatedAt

string, The time this rule was last updated.