Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

 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..


0 votes


Accepted answer

Permanent link
 This issue is fixed   by passing   correct header value  in deleteResource method parameter. 

Ralph Schoon selected this answer as the correct answer

0 votes


2 other answers

Permanent link

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.

1 vote


Permanent link

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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,942

Question asked: Mar 17 '16, 5:39 a.m.

Question was seen: 2,829 times

Last updated: Aug 28 '20, 3:07 a.m.

Confirmation Cancel Confirm