SecurityController

@RestController
@RequestMapping(value = ["/api/v2/security"])
class SecurityController(killSwitchService: KillSwitchService, policyGuard: PolicyGuard)(source)

Constructors

Link copied to clipboard
constructor(killSwitchService: KillSwitchService, policyGuard: PolicyGuard)

Functions

Link copied to clipboard
@PostMapping(value = ["/kill-switch/users/{username}"])
@ResponseStatus(value = HttpStatus.NO_CONTENT)
fun killUser(@PathVariable username: String)