diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2021-05-10 11:46:34 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-05-10 12:07:53 +0200 |
commit | b48707333ff46c14e2c6d1e438d6a830b5526f1a (patch) | |
tree | ef2dbc91246dc9f8176a962628428b5cd4a4fe07 /tests/units/test_0004_post_shell_run.py | |
parent | d3e9b5727ae28885f1af1c8bd5a40a1ed238120d (diff) |
#942 Add REST POST /center/delete method
This method deletes a center from the DB and deletes on cascade
rooms/labs, computers and computers partitions.
Note: if the center id do not exists in the database, ogserver still
tries to delete it and replies with 200 OK.
Request:
POST /center/delete
{
"id": "1"
}
Response:
200 OK
Diffstat (limited to 'tests/units/test_0004_post_shell_run.py')
0 files changed, 0 insertions, 0 deletions