IBM Support

How do delete a Maximo user using REST API

Technical Blog Post


Abstract

How do delete a Maximo user using REST API

Body

a) Create a Object Structure based on Maxuser table ( MAXUSERTEST an example)

b)Run the update statement

UPDATE MAXIMO.MAXVARS SET VARVALUE = 0 WHERE varname ='LOGINTRACKING';

c)Restart an application server

http://192.168.1.8:9080/maxrest/rest/os/MAXUSERTEST/30?&_lid=maxadmin&_lpwd=maxadmin&_action=DELETE

when complete   run

UPDATE MAXIMO.MAXVARS SET VARVALUE = 1 WHERE varname ='LOGINTRACKING';

and restart a server.

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSLKT6","label":"Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

UID

ibm11131831