Skip to main content

Get role

GET 

/v1/roles-with-permissions/:roleId

Get role

This endpoint retrieves detailed information about a role, including its associated permissions, based on the provided role_id. It returns a JSON object containing the role's ID, wallet ID, name, transaction limits, creation timestamp, permissions, and whether it has active users. If the role does not exist, it responds with a 404 status code indicating that the role was not found. In case of internal errors, it returns a 500 status code.

Request

Path Parameters

    role_id stringrequired

    Role id

    roleId uuidrequired

Responses

Role with permissions found

Schema
    createdAt date-timerequired
    dailyLimit int32nullable
    hasActiveUsers booleanrequired
    id uuidrequired
    monthlyLimit int32nullable
    name stringrequired
    permissions string[]required
    singleTxLimit int32nullable
    walletId uuidrequired
Loading...