Docs Home Return to Homepage
Get Started Login

Grant Database Access

On this page
http
POST /cranebase/services/{serviceId}/grant

Gives a user its permissions on a database. 404 when either doesn’t exist, 400 when the user already has access.

Parameters

Field Type Required Description
username string Yes Full user name
database string Yes Full database name

Response (201)

json
{ "message": "Access granted." }

Snagged on something?

Our sysadmins answer tickets around the clock.