Update Roles
This API enables app managers to edit the custom roles.
Request
PUT: {base_url}/apps/:appID/roles
Headers
Learn how to pass authentication headers here.
Query Parameters
| Parameters | Type | Description |
|---|---|---|
roleKey |
string | The unique key of a role (must exist in the application) |
roleDesc |
string | The description of the Role |
canWrite |
boolean | If set to true, the role has write permission to the file |
canRead |
boolean | If set to true, the role has read permission to the file |
canDelete |
boolean | If set to true, the role has delete permission to the file |
canShare |
boolean | If set to true, the role has share permission to the file |
canManage |
boolean | If set to true, the role has permission to grant access to other users |
otherInfo |
object | All other meta information about the role |