Deleting a Group

This RESTful web service request can be used to delete a group.

HTTP Method: DELETE

REST URL Format:

http://host:port/ibi_apps/rs/ibfs/SSYS/GROUPS/Group?IBIRS_action=delete

where:

host

Is the name of the system where WebFOCUS is installed.

port

Is the port number used by WebFOCUS.

Group

Is the name of the group to be deleted.

Example:

In the following example, the group, RestUsers, is deleted.

Request:

http://localhost:8080/ibi_apps/rs/ibfs/SSYS/GROUPS/RestUsers?IBIRS_action=delete

Response:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ibfsrpc _jt="IBFSResponseObject" language="EN" name="IBIRS_action" returncode="10000" returndesc="SUCCESS" subreturncode="0"
         subsystem="SSYS" type="simple">
   <ibfsparams size="0"/>
   <rootObject _jt="IBFSGroupObject" container="true" description="RESTful Web Services Users" dummy="false"
               fullPath="IBFS:/SSYS/GROUPS/RestUsers" name="RestUsers" type="Group">
      <users _jt="ArrayList" size="0"/>
   </rootObject>
</ibfsrpc>

If the value for the returncode attribute in the XML response is 10000, then the group was deleted successfully.


Information Builders