PUT
/
api
/
roles
/
{id}
Update a role
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>"
  ]
}'

Body

application/json

Response

404

Role ID not found.