cURL
curl --request POST \ --url https://{FUSION HOST}/api/roles \ --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>" ] }'
{ "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>" ] }
Create a new role in the system
Show child attributes
Created
Was this page helpful?