deleteById

@DeleteMapping(value = ["/{id:\d+}"])
fun deleteById(@PathVariable id: Long)

根据 ID 删除角色

Parameters

id

角色 ID