I want to delete bulk records from a custom object.
and my batch is
Account obj = new Account(id="0012800000XRdPgAAL"); delete obj;
InvalidBatch : Failed to process query: MALFORMED_QUERY: unexpected token: Account
Can any one please help me , how can i delete multiple records from a custom object using API.