{info} Usar el token obtenido en la autenticación.
METHOD | PATH | HEADERS |
---|---|---|
POST | /productos/eliminar |
Content-Type:application/json |
NAME | TYPE | DESCRIPTION | CONDITION |
---|---|---|---|
token | STRING |
Content-Type:application/json | |
id | STRING |
Id del producto |
{
"token" : "703ebe90b909aabad371af477afd92f37c10938a7564ce29ffd6ae5b309cca5c",
"id":"152"
}
{success} Solicitud Aceptada
HTTP_CODE 200
{
"success": 1,
"msg": "string|hashed"
}
{danger} Solicitud no aceptada
HTTP_CODE 500
{
"success": 0,
"msg": "string|description"
}