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
Path Parameters
Body ()
Root Schema : favorites-moveToRequest
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : favorites-moveToResponse
Type: object
Back to Top

Examples

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": []
}
Back to Top