It's all about the answers!

Ask a question

Oslc deleteResource(resourceURI) throwing 403 Forbidden status code in Lyo client java project


Amit Kumar (38419) | asked Mar 17 '16, 5:39 a.m.
 Hi ,
While deleting requirement artifact using client.deleteResource(resourceURI) api in Lyo client java project  I get 
return status code :403 Forbidden.
I am able to delete successfully with same credential from browser(Advance Rest Client).
Kindly help..


Accepted answer


permanent link
Amit Kumar (38419) | answered Mar 17 '16, 7:28 a.m.
 This issue is fixed   by passing   correct header value  in deleteResource method parameter. 

Ralph Schoon selected this answer as the correct answer

2 other answers



permanent link
Ankita M Udyavar (72114) | answered Jul 05 '17, 8:17 a.m.

Hi Amit , I am quite new to Eclipse Lyo and OSLC. Could you please let me know what do you mean by passing correct header value.


permanent link
Kira Resari (412) | answered Aug 28 '20, 3:07 a.m.

I, too, would be interested in how to do this. As I see it, the deleteResource method only takes one parameter, which I would assume to be the URI of the resource to be deleted since it's called resourceUri and all.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.