GET
/
v1
/
general
/
current-user
curl --request GET \
  --url https://api.nuon.co/v1/general/current-user \
  --header 'Authorization: <api-key>'
{
  "account_type": "auth0",
  "created_at": "<string>",
  "email": "<string>",
  "id": "<string>",
  "org_ids": [
    "<string>"
  ],
  "permissions": {},
  "roles": [
    {
      "createdBy": {},
      "created_at": "<string>",
      "created_by_id": "<string>",
      "id": "<string>",
      "policies": [
        {
          "created_at": "<string>",
          "created_by_id": "<string>",
          "id": "<string>",
          "name": "org_admin",
          "permissions": {},
          "role_id": "<string>",
          "updated_at": "<string>"
        }
      ],
      "role_type": "org_admin",
      "updated_at": "<string>"
    }
  ],
  "subject": "<string>",
  "updated_at": "<string>"
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and token.

Response

200
application/json
OK
account_type
enum<string>
Available options:
auth0,
service,
canary,
integration
created_at
string
email
string
id
string
org_ids
string[]

ReadOnly Fields

permissions
object
roles
object[]
subject
string
updated_at
string