Role - Updates an existing role
Enter the ID of the existing role to be updated.
The requested API version
1.0Class for representing the view of role.
A public property of type string that has both a getter and a setter method, which allows for getting and setting the value of the RoleName property.
A public property of type bool that has both a getter and a setter method, which allows for getting and setting the value of the CanCreate property.
A public property of type bool that has both a getter and a setter method, which allows for getting and setting the value of the CanEdit property.
A public property of type bool that has both a getter and a setter method, which allows for getting and setting the value of the CanExport property.
A public property of type bool that has both a getter and a setter method, which allows for getting and setting the value of the CanView property.
Success: Role updated successfully.
Not Found: Indicates that the requested role does not exist.
Internal Server Error: An unexpected error occurred or a server timeout.
PUT /roles/{roleId} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 83
{
  "roleName": "text",
  "canCreate": true,
  "canEdit": true,
  "canExport": true,
  "canView": true
}{
  "roleId": "123e4567-e89b-12d3-a456-426614174000",
  "roleName": "text",
  "canCreate": true,
  "canEdit": true,
  "canExport": true,
  "canView": true,
  "isEditable": true
}Last updated