XML-RPC API - Blocking and Unblocking Web Users

S
Written by Sergiiy
Updated 11 months ago

Implementation details

These applications support trusted mode in which case i_customer (Integer) parameter should be passed.

Available since version 2023.

Could be used for any web user within a Customer except default user that was added upon creation of a Customer.

blockWebUser()

This application is used to block a web user.

Parameters:

  • i_web_user - ID of web user to block. Integer. Required.

Returns:

  • result - OK means that the customer has been blocked. String.
  • i_web_user - ID of blocked web user. Integer.

  • XMLRPC fault in case of any error.

unblockWebUser()

This application is used to unblock a web user.

Parameters:

  • i_web_user - ID of web user to unblock. Integer. Required.

Returns:

  • result - OK means that the customer has been unblocked. String.
  • i_web_user - ID of unblocked web user. Integer.

  • XMLRPC fault in case of any error.
Did this answer your question?