| object | The object that you want to grant permissions. | |
| RoleId | string | The role.
Valid values:
- SystemFileEditorWithoutShareLink: The role that can edit but cannot share files.
- SystemFileUploaderAndDownloaderWithShareLink: The role that can upload, download, and share files.
- SystemFileDownloader: The role that can download files.
- SystemFileEditorWithoutDelete: The role that can edit but cannot edit files.
- SystemFileOwner: The role that can collaborate with others on files.
- SystemFileDownloaderWithShareLink: The role that can download and share files.
- SystemFileUploaderAndViewer: The role that can preview and upload files.
- SystemFileViewer: The role that can preview files.
- SystemFileEditor: The role that can edit files.
- SystemFileUploaderWithShareLink: The role that can upload and share files.
- SystemFileUploader: The role that can upload files.
- SystemFileUploaderAndDownloader: The role that can upload and download files.
- SystemFileMetaViewer: The role that can view file list.
| SystemFileEditor |
| ExpireTime | long | The expiration time. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC | 1633598866642 |
| DisinheritSubGroup | boolean | Indicates whether to disable the permission from users in the subgroup. | true |
| CdsIdentity | object | The object that you want to grant permissions. The object can be a user or a group. | |
| Id | string | The user ID or a team ID. | 16435bdf934248b788b7b3771ee9**** |
| Type | string | The object type.
Valid values:
- IT_Group: team
- IT_User: user
| IT_User |