{
"data": {
"roles": [
{
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": {
"time": "2023-11-07T05:31:56Z",
"valid": true
},
"name": "<string>",
"description": "<string>",
"permissions": [
{
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": {
"time": "2023-11-07T05:31:56Z",
"valid": true
},
"authority": "<string>",
"name": "<string>"
}
]
}
]
}
}
List all authorization roles.
{
"data": {
"roles": [
{
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": {
"time": "2023-11-07T05:31:56Z",
"valid": true
},
"name": "<string>",
"description": "<string>",
"permissions": [
{
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": {
"time": "2023-11-07T05:31:56Z",
"valid": true
},
"authority": "<string>",
"name": "<string>"
}
]
}
]
}
}
Authorization: Bearer $JWT_TOKEN
Prefer header, used to specify a custom timeout in seconds using the wait parameter as per RFC7240.
x >= 0
Sortable columns are name
, description
, id
, created_at
, updated_at
, deleted_at
.
Filter results by column string value. Valid filter predicates are eq
, ~eq
, neq
.
Filter results by column integer value. Valid filter predicates are eq
, neq
, gt
, gte
, lt
, lte
.
Filter results by created_at
value. See filter schema details for valid predicates.
Filter results by updated_at
value. See filter schema details for valid predicates.
Filter results by deleted_at
value. See filter schema details for valid predicates.
OK
The response is of type object
.