curl --request GET \
--url https://{FUSION HOST}/api/roles
[
{
"id": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"desc": "<string>",
"permissions": [
{
"methods": [
"GET"
],
"path": "<string>",
"params": {}
}
],
"uiPermissions": [
"<string>"
]
}
]
Return all roles defined in Fusion, or filter by role name
curl --request GET \
--url https://{FUSION HOST}/api/roles
[
{
"id": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"desc": "<string>",
"permissions": [
{
"methods": [
"GET"
],
"path": "<string>",
"params": {}
}
],
"uiPermissions": [
"<string>"
]
}
]
OK
The response is of type object[]
.
Was this page helpful?