Skip to main content

Update the Role

Select

SaaS
Customer Managed

Modify the properties of an existing role

Path Parameters
  • roleId int32 required

    Role Id

Request Body
  • newName string

    new name of the role

  • permissionList object[]

    Used to update the list of permissions associated with the role.

  • permission object
  • id int32
  • name string
  • category object
  • id int32
  • name string
  • permissionOperationType string

    Possible values: [ADD, DELETE, OVERWRITE]

    Type of operation to be performed on the permissionList. Default is OVERWRITE.

  • enabled boolean

    Used to determine if the role is enabled or disabled.

  • visibleToAll boolean

    Determines if the role is visible to everyone.

  • security object[]

    Used to update the security association for the role

  • user object
  • id int32
  • name string
  • userGroup object
  • id int32
  • name string
  • role object
  • id int32
  • name string
Responses

Success


Schema
  • errorMessage string
  • errorCode int32
Loading...