Move a Favorite to a Folder
post
                    /rest/v19/favorites/{id}/actions/moveTo
This endpoint moves a favorite to a folder.
                
                Request
Supported Media Types
                - application/json
Path Parameters
                - 
                    id(required): integer
                    
                    The identifier for the favorite.
Root Schema : favorites-moveToRequest
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            targetFolderId: 
            integer
            Title:Target Folder IDThe target Folder to which the favorites will be moved to.
Response
Supported Media Types
                - application/json
Default Response
Root Schema : favorites-moveToResponse
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
objectExamples
The following example shows how to move a favorite to a folder by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X POST -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/favorites/123/actions/moveTo
Request Body Sample
{
  "targetFolderId": 123
}Response Body Sample
{
  "items": []
}