User

get
Authorizations
Responses
200
200 OK
application/json
get
GET /api/admin/user HTTP/1.1
Host: demo.busroot.com
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "isSuccess": true,
  "results": [
    {
      "id": 1,
      "email": "text",
      "userRole": "customer",
      "accounts": [
        {
          "role": "member",
          "accountId": "text",
          "domain": "text"
        }
      ]
    }
  ]
}
post
Authorizations
Body
emailstring · email · min: 1Required
rolestring · enumRequiredPossible values:
Responses
200
200 OK
application/json
post
POST /api/admin/user HTTP/1.1
Host: demo.busroot.com
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 42

{
  "email": "[email protected]",
  "role": "member"
}
{
  "isSuccess": true,
  "result": {
    "userId": 1,
    "role": "text",
    "accountId": "text",
    "createdAt": "text",
    "updatedAt": "text"
  }
}
get
Authorizations
Path parameters
emailstring · email · min: 1Required
Responses
200
200 OK
application/json
get
GET /api/admin/user/{email} HTTP/1.1
Host: demo.busroot.com
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "isSuccess": true,
  "result": {
    "id": 1,
    "email": "text",
    "userRole": "customer",
    "accounts": [
      {
        "role": "member",
        "accountId": "text",
        "domain": "text"
      }
    ]
  }
}