curl --request PUT \
--url https://{FUSION HOST}/api/roles/{id} \
--header 'Content-Type: application/json' \
--data '{
"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>"
]
}'
curl --request PUT \
--url https://{FUSION HOST}/api/roles/{id} \
--header 'Content-Type: application/json' \
--data '{
"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>"
]
}'
Role ID not found.
Was this page helpful?