getRoles()

Description

Delete the account based on the Bearer token. The system will also delete the corresponding user object inside the Users table.

Request

Parameters

No parameters needed

Example

const roles = await client.auth().getRoles()

Response

No content

Example

{
    "data": [
        {
            "uid": "njiasd91n2mkoaskmoadsko",
            "name": "admin"
        }
    ]
}

Last updated

Copyright © 2023 Deskree Technologies Inc.