This RESTful web service request can be used to delete a role.
HTTP Method: DELETE
REST URL Format:
http://host:port/ibi_apps/rs/ibfs/SSYS/ROLES/Role?IBIRS_action=delete
where:
Is the name of the system where WebFOCUS is installed.
Is the port number used by WebFOCUS.
Is the name of the role to be deleted.
Example:
In the following example, a role called LibraryCustom is deleted.
Request:
http://localhost:8080/ibi_apps/rs/ibfs/SSYS/ROLES/LibraryCustom?IBIRS_action=delete
Response:
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> <ibfsrpc _jt="IBFSResponseObject" language="EN" name="delete" returncode="10000" returndesc="SUCCESS" subreturncode="0" subsystem="SSYS" type="simple"> <ibfsparams size="2"> <entry key="IBIRS_args" value="__null"/> <entry key="IBIRS_" value="/SSYS/ROLES/LibraryCustom"/> </ibfsparams> <rootObject _jt="IBFSPermissionSetObject" description="Library Privilege - Custom" dummy="false" fullPath="IBFS:/SSYS/ROLES/LibraryCustom" handle="381089792" name="LibraryCustom" policy="////D///9+f/////f/////////8AAAA=" rsPath="/ibi_apps/rs/ibfs/SSYS/ROLES/LibraryCustom" showPermissions="false" subsysNameList="WFC" type="PermissionSet"> <pSet _jt="IBSSPermissionSet" compLvl="100" description="Library Privilege - Custom" id="381089792" name="LibraryCustom" shipped="false"> <policy _jt="IBSSPolicy" derivedDate="1349173489158"> <policy _jt="EnumMap" _keyJT="IBSSOperation" size="3"> <entry> <key _jt="IBSSOperation" name="opLibrary"/>
<value _jt="IBSSVerb" name="PERMIT"/> </entry> <entry> <key _jt="IBSSOperation" name="opList"/> <value _jt="IBSSVerb" name="PERMIT"/> </entry> <entry> <key _jt="IBSSOperation" name="opRCExplorer"/> <value _jt="IBSSVerb" name="PERMIT"/> </entry> </policy> </policy> <subsysList _jt="ArrayList" size="1"> <item _jt="IBFSSubsystem" index="0" name="WFC"/> </subsysList> </pSet> </rootObject> </ibfsrpc>
If the value for the returncode attribute in the XML response is 10000, then the role was successfully deleted.
WebFOCUS | |
Feedback |