curl --request GET \
--url https://api.hyperline.co/v1/users/roles \
--header 'Authorization: Bearer <token>'{
"meta": {
"total": 1,
"taken": 1,
"skipped": 0
},
"data": [
{
"id": "rol_DKL4Xcb5VSa8CQ",
"name": "Admin",
"description": null,
"is_default": false
}
]
}Retrieve existing user roles.
curl --request GET \
--url https://api.hyperline.co/v1/users/roles \
--header 'Authorization: Bearer <token>'{
"meta": {
"total": 1,
"taken": 1,
"skipped": 0
},
"data": [
{
"id": "rol_DKL4Xcb5VSa8CQ",
"name": "Admin",
"description": null,
"is_default": false
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
0 <= x <= 100x >= 0Was this page helpful?