Delete a listing

Moves a listing to the trash, like the Delete button in the admin. It disappears from every view except GET /listings?status=deleted, and POST /listings/{id}/restore brings it back. Deleting also permanently removes the listing's content section items (features, FAQs and so on); restoring does not bring them back. Only available with an API key (not to AI assistants). Requires the listings_delete permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

Listing ID.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json