My Oracle Support Banner

Need The Curl Command To Remove A Resource From OAM (Doc ID 2033935.1)

Last updated on JULY 20, 2015

Applies to:

Oracle Access Manager - Version 11.1.2.2.0 and later
Information in this document applies to any platform.

Goal

Qn1:We are looking for a curl command to delete one resource from OAM.

I have tried the below command, but got the error.

-bash-3.2$ curl -u oamadmin:Weblogic12 -H "Content-Type: application/xml" --request DELETE --data "294b1e204ea64b9c9309ce1d396ddf06" http://sdcvnmw283:51901/oam/services/rest/11.1.2.0.0/ssa/policyadmin/resource
curl: (18) transfer closed with outstanding read data remaining
-bash-3.2$

I am referring the document http://docs.oracle.com/cd/E27559_01/dev.1112/e27134/plcyadmn_rest.htm#AIDEV419 but there are no examples of how to delete a resource.
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.