{info} Usar el token obtenido en la autenticación.
| METHOD | PATH | HEADERS |
|---|---|---|
| POST | /establecimientos/borrar |
Content-Type:application/json |
| NAME | TYPE | DESCRIPTION | CONDITION |
|---|---|---|---|
| token | STRING |
Content-Type:application/json | |
| id | INTEGER |
id del establecimiento a eliminar |
{
"token": "string|hash",
"id": integer
}
{success} Solicitud Aceptada
HTTP_CODE 200
{
"success": 1,
"msg": "string|hashed"
}
{danger} Solicitud no aceptada
HTTP_CODE 500
{
"success": 0,
"msg": "string|description"
}