Skip to content

Deleting folders to put into recycle bin #1547

Closed Answered by jansenbe
ajcaterino asked this question in Q&A
Discussion options

You must be logged in to vote

@ajcaterino : it does not matter from which object you call ExecuteRequest when making custom API calls when you're not using tokens in the API call. In your example you're not using the folder recycle method, but you're recycling a listitem. Please use either _api/Web/Lists(guid'{List.Id}')/Items({Parent.Id})/Folder or _api/Web/Lists(guid'{Parent.Id}')/rootFolder and replace the tokens before making the call

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ajcaterino
Comment options

@jansenbe
Comment options

Answer selected by ajcaterino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants