Get user admin details

Returns admin details for the authenticated user.

GET
https://identity.krystal.io/api/v1/user/admin

If successful, this endpoint will return a 200 OK status.

Scopes

One of the following scopes are required to use this endpoint.

Returned Object

When the request is successful, you can expect an object matching the specification below to be returned.

{
    admin: AdminUserDetails {
        revision: Integer
        admin_access: Boolean
        roles: [ String? ]
        permissions: [ String? ]
    }
}