diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2021-05-10 13:02:48 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-05-10 13:39:38 +0200 |
commit | bc9424724d5e8a2b3f252005a99fe9adf003cfcd (patch) | |
tree | eebfba0d7baf308a9f1c9557df0f1495d31511a6 /tests/units/test_0027_get_hardware.py | |
parent | b48707333ff46c14e2c6d1e438d6a830b5526f1a (diff) |
Add REST POST /room/delete method
This method deletes a room (lab) from the DB and deletes on cascade
computers and computers partitions.
Note: if the room id do not exists in the database, ogserver still
tries to delete it and replies with 200 OK.
Request:
POST /room/delete
{
"id": "1"
}
Response:
200 OK
Diffstat (limited to 'tests/units/test_0027_get_hardware.py')
0 files changed, 0 insertions, 0 deletions