/v2/databases/{database_cluster_uuid}/usersAdd a database user
Creates a database user for a database cluster. Supply the required name and, where applicable, engine-specific options in mysql_settings or settings; PostgreSQL pg_allow_replication defaults to false when omitted. The response includes the new user and its randomly generated password, and user management is not supported for Caching or Valkey clusters.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Database user details and optional engine-specific settings. Supply name to create the user.
A 401 is returned for invalid credentials, a 404 when the database cluster is not found, a 429 when the API rate limit is exceeded, and a 500 when a server error occurs. name is required, and mysql_settings must include auth_plugin when that object is supplied. The database_cluster_uuid path parameter must identify an existing database cluster.