Users

Users are the main interactors with the Sumer observability and monitoring platform

get

List the Users related to specified Dapp

Authorizations
Path parameters
dappIdstringRequired
Query parameters
orderBystringOptional

email | fullName | verify

orderTypestringOptional
limitnumberOptional
offsetnumberOptional
Responses
200
Dapp's Users list
application/json; charset=utf-8
get
GET /me/dapps/{dappId}/users HTTP/1.1
Host: api.getsumer.com
Authorization: Bearer JWT
Accept: */*
{
  "users": [
    {
      "id": "text",
      "email": "text",
      "fullName": "text",
      "isVerified": true,
      "createdAt": "text"
    }
  ],
  "total": 1
}
post

Create a User with specified info

Authorizations
Path parameters
dappIdstringRequired
Body
emailstringOptional
Responses
201
User successfully created
application/json; charset=utf-8
Responseboolean
post
POST /me/dapps/{dappId}/users HTTP/1.1
Host: api.getsumer.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 57

{
  "email": "text",
  "roles": [
    {
      "id": "text",
      "tools": [
        "text"
      ]
    }
  ]
}
true

Last updated

Was this helpful?