PPylon Developers
ApiListings Import

Expire stale listings

Marks published listings as expired if not updated by the crawler after a cutoff date.

POST
/api/admin/v1/listings/import/expire
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/admin/v1/listings/import/expire" \  -H "Content-Type: application/json" \  -d '{    "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",    "externalSource": "string",    "olderThan": "2019-08-24T14:15:22Z"  }'
0
{
  "code": "string",
  "message": "string"
}