To delete a reservation, use the command grmres:
grmres [—debug] [-? | —help] [—man] [-q | —quiet] [-v | —verbose] {-I | -n reservation_name | job_id | [-r] reservation_id}
Example 4. Deleting a reservation by name (JobId)
$ grmres -n PBS.1234.0 Successfully deleted 1 Reservation
Example 5. Deleting a reservation by ReservationId
$ grmres 1 Successfully deleted 1 Reservation
Example 6. Purging stale reservations
$ grmres -I Successfully deleted 2 Reservations