Created on
05-17-2023
07:48 AM
Edited on
05-17-2023
07:48 AM
By
Jean-Philippe_P
Description | This article explains two methods to delete users from FortiMonitor. |
Scope | FortiMonitor, Users. |
Solution |
Method 1:
Under the 'Users' section select the 3 dots and 'delete' for the user that no longer needs access to the FortiMonitor.
Note: make sure to delete the correct user. Once deleted, it will not be possible to retrieve the user.
To delete a user, it is possible to use two endpoints:
- Get /user: 1) This endpoint will help to fetch the 'user-id' of the user wanted to be deleted. 2) User id value can be fetched through the URL: https://api2.panopta.com/v2/user/<user-id>. 3) The base URL to fetch the information would be https://api2.panopta.com/v2/user. If using Postman, refer to this link. 4) The expected response code should be 200 if the request was successful.
- Delete /user/{user_id}. 1) This endpoint will delete the user from the account. 2) The user-id value received from '1.2' should be used as a value to delete the user account from FortiMonitor. 3) Similarly, the base URL for this endpoint would also be https://api2.panopta.com/v2/user/. 4) The expected response code would be 204 if the request was successful. |