Deleting a User

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

HTTP Method: DELETE

REST URL Format:

http://host:port/ibi_apps/rs/ibfs/SSYS/USERS/Userid?IBIRS_action=delete

where:

host

Is the name of the system where WebFOCUS is installed.

port

Is the port number used by WebFOCUS.

Userid

Is the name of the user ID to be deleted.

Example:

In the following example, the user ID, restid, is deleted.

Request:

http://localhost:8080/ibi_apps/rs/ibfs/SSYS/USERS/restid?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="IBFSUserObject" description="Rest Userid" dummy="false" email="restid@informationbuilders.com"
              fullPath="IBFS:/SSYS/USERS/restid" name="restid" nameSpace="DB"
password="$c35587264cbbbe38$ce25f3b448103e2031ee0b943bf8fd031b7bac26e1e05
91da4bb7105d2672f206de9eb7b39d4fb83eb6a01a0faea2ff1ec2ccaa70103f7723c89d0d426098c32"
              policy="///+f///////9/////////////+AAAAA" type="User">
      <status _jt="IBSSUserStatus" name="ACTIVE"/>
      <groups _jt="ArrayList" size="0"/>
      <pSetList _jt="ArrayList" size="0"/>
   </rootObject>
</ibfsrpc>

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


Information Builders