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| Parameter | Type | Required |
|---|---|---|
| account | String | Yes |
- 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"]'| Parameter | Type | Required |
|---|---|---|
| account | String | Yes |
| username | String | Yes |
| rights | Array | No |
- 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"]'| Parameter | Type | Required |
|---|---|---|
| account | String | Yes |
| username | String | Yes |
| rights | Array | Yes |
- 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| Parameter | Type | Required |
|---|---|---|
| account | String | Yes |
| username | String | Yes |
- Rights: admin
- Verb: POST
Remove all access to account for the specified user.


