Skip to main content
DELETE
Allows for a listing to be immediately deleted or to be scheduled for deletion. All date fields included in the body parameters need to be specified as ISO8601-formatted date strings. Date fields should follow a “YYYY-MM-DD” format.
string
default:"none"
required
The authentication token for your request

Path

string
default:"none"
required
The id of the listing to be deleted

Body

date
default:"Current date"
required
The date at which the listing should be deleted.If left empty, it defaults to the current date

Response

boolean
Indicates whether the listing has been succesfully scheduled for deletion or not.
boolean
The id of the listing scheduled for deletion.

Errors

Listed below are common errors that may be returned by the endpoint, along with their corresponding status code. Status Code - 400
Missing Authorization header
Status Code - 401
Expired Authorization header bearer token value
Status Code - 401
Invalid Authorization header bearer token value
Status Code - 401 Returned if the currently authenticated user does not have permission to delete the listing they are attempting to delete
Invalid/Expired Authorization header bearer token value