Return to Homepage

Update Database User

http
PUT /cranebase/services/{serviceId}/users/{username}

{username} is the full name. Changes only the fields given; the rest keep their current values. New permissions apply to every database the user has. Users can’t be renamed. 404 when there’s no such user.

Parameters

Field Type Required Description
password string No New password (min 8 chars)
permissions array No New privileges (see Create Database User)
webadmin boolean No Allow phpMyAdmin sign-in
active boolean No false locks the user, true unlocks it

Response

json
{ "message": "User updated." }

Snagged on something?

Our sysadmins answer tickets around the clock.