Deleting files using RESTful API From Alfresco

cancel
Showing results for 
Search instead for 
Did you mean: 
sandeepreddy1
Active Member II

Deleting files using RESTful API From Alfresco

Hi,

I am using the following approach to perform deleting files to the Alfresco repository:

"http://localhost:8080/alfresco/service/api/node/workspace/SpacesStore?alf_ticket="

However, this approach does not allow me to delete files in alfresco,

I need to perform file delete via RESTful api using the alf_ticket or nodRef.

Does anyone have any tips how to do this?

Alfresco Version: 5.1.f

ps. Sorry for my english!

Grateful.

1 Reply
krutik_jayswal
Senior Member II

Re: Deleting files using RESTful API From Alfresco

You need to hit the delete request on below api.

 /api/node/doclink/{store_type}/{store_id}/{id}

Don't forgot to make the request as DELETE Method and not the get/post.