Role - Update an existing role

Updates an existing role

put
Authorizations
Path parameters
roleIdstring · uuidRequired

Expects Id of an existing role

Query parameters
versionstringOptional

The requested API version

Default: 1.0
Body

Class for representing the view of role.

roleNamestring | nullableOptional

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.

canCreatebooleanOptional

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.

canEditbooleanOptional

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.

canExportbooleanOptional

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.

canViewbooleanOptional

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.

Responses
200
Acknowledgment for successful new role update
put
PUT /roles/{roleId} HTTP/1.1
Host: 
Authorization: Bearer JWT
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