fix in compute resource api

Create mistakenly required id and was sent via put.