Remove the assumpution of "id" in "resource" param`