Website

Understanding Ad Deletion Flow in Autovit.ro API

Last update: 23.03.2026

When deleting an ad via the Autovit.ro API, it’s important to follow the correct flow. Ads cannot be deleted directly—they must first be deactivated.

 

Step 1: Deactivate the Ad
Before deletion, the ad must be moved to an inactive state. This ensures that it is no longer visible or active in the platform.

 

Step 2: Delete the Ad
Once the ad is deactivated, you can proceed with the deletion using the following endpoint:

DELETE https://www.autovit.ro/api/open/adverts/:id

Replace :id with the actual ID of the ad you want to delete.

 

Important Notes

  • Attempting to delete an active ad will result in an error.

  • Always ensure the ad is successfully deactivated before making the DELETE request.

For full details, refer to the API documentation:
https://www.autovit.ro/api/doc/#api-Advert-DeleteAdvert


By following this two-step process (deactivate → delete), you can ensure a smooth and error-free ad removal flow.