Update or Remove Permissions for a Favorite Folder

put

/rest/v19/favoriteFolders/{id}/sharePermissions

This endpoint modifies the shared permissions for a favorite folder. Only groups can be granted folder permissions.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : Favorite Folder Share Permissions
Type: object
Title: Favorite Folder Share Permissions
Favorite Folder Share Permissions
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Favorite Folder Share Permissions
Type: object
Title: Favorite Folder Share Permissions
Show Source
Nested Schema : Sharing Access Level
Type: object
Title: Sharing Access Level
Access Level of the Shared user or Group
Show Source
  • Title: Display Value
    Translated display name of the type for which fixed list of values can be defined.
  • Title: Id
    Primary Key of the fixed list of value resource.
  • Title: Lookup Code
    Language independent code of the fixed list of value.
Nested Schema : Favorite Folder ID
Type: object
Title: Favorite Folder ID
ID of the favorite folder
Show Source
Nested Schema : Group ID
Type: object
Title: Group ID
ID of the Group of users the favorite is shared with
Show Source
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : favoriteFolderSharePermissions-collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Favorite Folder Share Permissions
Type: object
Title: Favorite Folder Share Permissions
Show Source
Nested Schema : Sharing Access Level
Type: object
Title: Sharing Access Level
Access Level of the Shared user or Group
Show Source
  • Title: Display Value
    Translated display name of the type for which fixed list of values can be defined.
  • Title: Id
    Primary Key of the fixed list of value resource.
  • Title: Lookup Code
    Language independent code of the fixed list of value.
Nested Schema : Favorite Folder ID
Type: object
Title: Favorite Folder ID
ID of the favorite folder
Show Source
Nested Schema : Group ID
Type: object
Title: Group ID
ID of the Group of users the favorite is shared with
Show Source
Back to Top

Examples

The following example shows how to modify the shared permissions for a favorite folder by submitting a PUT request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X PUT -H "Authorization: Bearer <token>" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v19/favoriteFolders/1234/sharePermissions

Request Body Sample

{
  "items": [{
      "accessLevel": {
        "displayValue": "Edit"
      },
      "groupId": {
        "variableName": "salesAdministrator"
      }
    }
  ]
}
Back to Top