Skip to main content
DELETE
Use this call when a car is sold or withdrawn. It is a soft delete: the listing gets status sold and a sold date, and Okasie takes it offline about an hour later (60 to 75 minutes). After that its status reads inactive in List Listings (with status=all). The listing is not removed from Okasie’s database.
Requires the write:listings scope.
To publish the same car again later, send it with Create/Update Listing and status: "active", using the same reference. The call is idempotent: deleting a listing that is already sold or offline returns the same response. Each call sets the sold date to the current time.

Path parameter

string
required
The reference you used when creating the listing.
No request body is needed.

Response

HTTP 200 with the rate limit headers.
string
Okasie listing UUID.
string
Your reference.
string
Always sold.

Errors

When a dealer stops publishing on Okasie, delete its listings before Okasie removes the dealer from your key. Afterwards your key can no longer change them (403 PROFILE_FORBIDDEN).