Delete Favorite Zone / Eliminar Zona Favorita
DELETE
/external/zona-favorita
const url = 'https://api-dev.zonaparqueo.com/external/zona-favorita';const options = { method: 'DELETE', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"favorito_id":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api-dev.zonaparqueo.com/external/zona-favorita \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "favorito_id": 1 }'Deletes a favorite zone by its identifier, sent in the JSON body.
Contract not verified by our integration: documented from the provider’s official collection.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
favorito_id
required
Identifier of the favorite to delete
integer
Examplegenerated
{ "favorito_id": 1}Responses
Section titled “Responses”Favorite deleted
Media typeapplication/json
object
estado
string
data
Response data
object
Example
{ "estado": "ok"}Invalid request
Media typeapplication/json
object
estado
string
error
Error message
string
errores
Field-specific error details
object
Example
{ "estado": "fail"}