Website

Delete advert

Last update: 11.12.2023

This section is restricted for partners use. If You accessing API with "password" grant type - go to Account section

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

Permission: advertsWrite

Header

Field Type Description
User-Agent string Account email.

Parameter

Field Type Description
id Number Id of deleted advert

Example request:
		DELETE /adverts/999 HTTP/1.1

User-Agent: $USER_EMAIL
Content-Type: application/json
Authorization: Bearer $ACCESS_TOKEN			
		
Copied to clipboard
Success response:
		HTTP/1.1 204 No Content			
		
Copied to clipboard
Error response example:
		HTTP/1.1 403 Forbidden
{
    "error":
    {
        "type": "ForbiddenException",
        "message": "Ad id 60016422772 not exists.",
    }
}			
		
Copied to clipboard