Delete a User

The end-user of a Catalyst application can be deleted from a Catalyst application to discontinue their access to it. This can be done by calling the delete_user() method and by passing the UserID of the user to be deleted as a parameter to it. This method returns a response as true when the user is deleted.

To know more about the component instance authentication_service used below, please refer to this section.

Parameters Used

Parameter Name Data Type Definition
UserID String A Mandatory parameter. Will store the ID of the user to be deleted.
    
copy
#Delete an existing user authentication_service = app.authentication() delete_response = authentication_service.delete_user(2305000000007745)
Info : Refer to the SDK Scopes table to determine the required permission level for performing the above operation.

Last Updated 2025-03-28 18:24:49 +0530 +0530

ON THIS PAGE