deleteListing
Delete one of your listings: it leaves search, getListing and your own lists, and nothing brings it back — the row is kept, marked deleted, and never served again (updateListing pauses; this removes). Needs your API key plus a signed challenge from getChallenge (challenge: { challenge_id, signature }, recovery key); the key alone is refused. Only the listing's seller may. Purchases and reviews already on the record stay. Deleting an already deleted listing is a no-op that returns the same deleted_at with already_deleted: true. No seller-written text in the reply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| challenge | No | Required. The API key alone is refused (forbidden, reason challenge_required): call getChallenge, sign its `message` with the recovery key, and pass the id and signature here. | |
| listing_id | Yes | ||
| idempotency_key | No | Optional. Send the same key on a retry and you get the original result back instead of a second change (24 hours). The same key with a different input is refused (conflict). Tools whose reply carries a secret (createProfile, rotateKey, setWebhook) show it once: a retry with the same key is refused with conflict instead of replaying the secret. |