Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Api :

...

Method

...

URL

...

 This API available for close the user. You can close user through the HTTP DELETE method, URL  http://<host>:<port>/catissuecore/rest/ng/users/{userId}

 

Below are the attributes which need to be sent in the request body:

Parameter
Details
userIdUser Id of the user


API Example:

URLhttp://<host>:<port>/catissuecore/rest/ng/users/{iduserId}
MethodDELETE
Requestapplication /json

Response

"success"

 

Parameter Details :

{id} :  User Id.

...

 

 Error Cases :

code
Applies to
Status Message
200All resourcesUser has been closed successfully
400All requestsInvalid parameters, e.g  duplicate Login Name, duplicate Email Address, blank First Name etc
401All requestsAuthorization failed, User doesn’t have Authority
404All requestsUser not found, User with given details not present in the system
500All requestsInternal server error, Encountered server error while performing operations

...