# Update database IP access

This endpoint adds, updates, or removes the access of an IP address to a given database.

Method Path Operation*
PATCH account/services/databases/{database}/access/ips update_database_ip_access

*

In order for a user to perform the "update_database_ip_access" operation, the "update_database_ip_access" permission must be included in the list of allowed actions in the statement of the user's role.

# Request

Parameter Type In Description
{database}
required
string path Database UUID or "default" for requests on default database.
ip access rule dictionary body Attribute in form of key-value pairs:
- key: IP address.
- value: User-defined name of the IP access rule.

# Response

Parameter Type In Description
{database}
required
string path Database UUID or "default" for requests on default database.
ip access rule dictionary body Attribute in form of key-value pairs:
- key: IP address.
- value: User-defined name of the IP access rule.

Was this article helpful?