Get roles by wallet id
GET/v1/wallets/:wallet_id/roles-with-permissions
Get roles by wallet id
This endpoint retrieves roles along with their associated permissions for a given wallet ID. It supports filtering by role name, sorting by creation date or name, and pagination. A successful request returns a list of roles with details including limits and active users status. Errors include wallet not found and internal server errors.
Request
Path Parameters
wallet_id uuidrequired
Wallet id
Query Parameters
search_by string
Search by
order_by string
Order by
sort_by string
Sort by
page int32
Page
page_size int32
Page size
Responses
- 200
- 404
- 500
Roles found
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
createdAt date-timerequired
dailyLimit int32nullable
hasActiveUsers booleanrequired
id uuidrequired
monthlyLimit int32nullable
name stringrequired
permissions string[]required
singleTxLimit int32nullable
walletId uuidrequired
[
{
"createdAt": "2024-09-25T19:42:12.666Z",
"dailyLimit": 0,
"hasActiveUsers": true,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"monthlyLimit": 0,
"name": "string",
"permissions": [
"string"
],
"singleTxLimit": 0,
"walletId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
Wallet not found
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...