Hi Dzianis,
As per my understanding of your question, you want to recalculate/ reset identity value of the column, not the primary key itself.
If I am correct then please use below DBCC command. That will help you to reset the identity value of the column.
DBCC CHECKIDENT('[table_name]', RESEED, [new_reseed_value])
So, in your case you can put something like below"
DBCC CHECKIDENT('MyTable', RESEED, 1)
Above query will reset your identity column to value 1. So from the next value 2 will be inserted for the column id.
Please let me know if you have any concern or query on this.
Thanks