Skip to content

Accounts

/account/list

bash
curl https://ops.minusonedb.com/account/list \
  -H "m1-auth-token: $myToken"
bash
m1 ops account/list
  • Rights: none
  • Verb: GET

List all accounts the current user has access to.

200 OKReturns a list of accounts the user can access

/account/user/list

bash
curl https://ops.minusonedb.com/account/user/list?account=31e1192e-5415-4d85-a45e-b88897c96c1bd \
  -H "m1-auth-token: $myToken"
bash
m1 ops account/user/list -account 31e1192e-5415-4d85-a45e-b88897c96c1bd
ParameterTypeRequired
accountStringYes
  • Rights: none
  • Verb: GET

List all users associated with this account.

200 OKReturns a list of users and their rights for the account

/account/user/add

bash
curl https://ops.minusonedb.com/account/user/add \
  -d 'account=31e1192e-5415-4d85-a45e-b88897c96c1b&username=user@email.com&rights=["view"]' \
  -H "m1-auth-token: $myToken"
bash
m1 ops account/user/add -account 31e1192e-5415-4d85-a45e-b88897c96c1b -username user@email.com -rights '["view"]'
ParameterTypeRequired
accountStringYes
usernameStringYes
rightsArrayNo
  • Rights: admin
  • Verb: POST

Add access to an account for the specified user. Rights defaults to no rights if unspecified.

/account/user/update

bash
curl https://ops.minusonedb.com/account/user/update \
  -d 'account=31e1192e-5415-4d85-a45e-b88897c96c1b&username=user@email.com&rights=["manage","view"]' \
  -H "m1-auth-token: $myToken"
bash
m1 ops account/user/update -account 31e1192e-5415-4d85-a45e-b88897c96c1b -username user@email.com \
  -rights '["manage", "view"]'
ParameterTypeRequired
accountStringYes
usernameStringYes
rightsArrayYes
  • Rights: admin
  • Verb: POST

Update account rights for the specified user.

/account/user/remove

bash
curl https://ops.minusonedb.com/account/user/remove \
  -d "account=31e1192e-5415-4d85-a45e-b88897c96c1b&username=user@email.com" \
  -H "m1-auth-token: $myToken"
bash
m1 ops account/user/remove -account 31e1192e-5415-4d85-a45e-b88897c96c1b -username user@email.com
ParameterTypeRequired
accountStringYes
usernameStringYes
  • Rights: admin
  • Verb: POST

Remove all access to account for the specified user.

© 2021-2026 MinusOne, Inc.