cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting files using RESTful API From Alfresco

sandeepreddy1
Star Contributor
Star Contributor

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 1

krutik_jayswal
Elite Collaborator
Elite Collaborator

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.