About the Roles Resource

You can use LogicMonitor’s REST API to programmatically manage the user roles in your account. Using LogicMonitor’s REST API, you can: Get a list of all roles Get information about a particular role Add a role Update a role Delete a role Note: As with all of our API calls, authentication is required. Resource URI: … Continued

Add Roles

With LogicMonitor’s REST API you can programmatically add a new role to your LogicMonitor account. Note: As with all of our API calls, authentication is required Add a Role HTTP Method:POST URI: /setting/roles Request Parameters:You can POST the following properties for a new role Property Description Required? Values Type name The name of the role … Continued

Get Roles

You can use LogicMonitor’s REST API to programmatically get information about your LogicMonitor roles. You can either get a list of roles or you can get details for a particular role. Note: As with all of our API calls, authentication is required. Get a list of all Roles Returns a list of roles HTTP Method: … Continued

Update Roles

You can use LogicMonitor’s REST API to programmatically update your LogicMonitor roles. As with all of our API calls, authentication is required. Update a role Update an existing role. Note that consistent with REST standards, any properties not specified in a PUT request will revert back to their default values. HTTP Method:PUT URI: /setting/roles/{id} Request … Continued

Delete Roles

With LogicMonitor’s REST API you can programmatically delete your LogicMonitor roles. As with all of our API calls, authentication is required. Delete a role Delete an existing role. HTTP Method:DELETE URI: /setting/roles/{id} Example The following Python script deletes the role with an id of 28: