Actions176
- Health Check Actions
- Knowledge Manager Actions
- List Entities
- Create Entity
- Get Entity
- Update Entity
- Delete Entity
- List Language Profiles
- List All Language Profiles
- Get Language Profile
- Upsert Language Profile
- Delete Language Profile
- Get Locations
- Create Location
- Search Locations
- Get Location
- Update Location
- Get Location Folders
- Get Menus
- Create Menu
- Get Menu
- Update Menu
- Delete Menu List
- Get Bios
- Create Bio
- Get Bio
- Update Bio
- Delete Bio List
- Get Products
- Create Product
- Get Product
- Update Product
- Delete Product List
- Get Events
- Create Event
- Get Event
- Update Event
- Delete Event List
- Get Business Categories
- Get Google Keywords
- Get Custom Fields
- Create Custom Field
- Get Custom Field
- Update Custom Field
- Delete Custom Field
- Get Language Profiles
- Get Location Language Profile
- Upsert Location Language Profile
- Delete Location Language Profile
- List Assets
- Create Asset
- Get Asset
- Update Asset
- Delete Asset
- Upsert Suggestion
- List Suggestions
- Cancel Suggestion
- Get Suggestion
- Comment Suggestion
- Update Suggestion
- Listings Actions
- List Publishers
- List Listings
- Opt In Listings
- Opt Out Listings
- Confirm Sync Listings
- Force Sync Listings
- List Publisher Suggestions
- Get Publisher Suggestion
- Update Publisher Suggestion
- List Duplicates
- Create Duplicate
- Delete Duplicate
- Suppress Duplicate
- List Methods
- List Statuses
- Initiate Verification
- Complete Verification
- List Admins
- Invite Admins
- List Entity Listings
- Delete Listings
- List Questions
- Get Question
- Create Answer
- Update Answer
- Delete Answer
- Analytics Actions
- Logs API Actions
- Reviews Actions
- Social Actions
- Account Settings Actions
- Optimization Tasks Actions
- Connectors Actions
- Configuration Actions
- Licenses Actions
- Computations Actions
- Domains Actions
Listings → Delete Listings
AI-generatedSummary
Delete listings in the Yext Knowledge API by specifying entity IDs and optionally filtering by publisher IDs.
Inputs
- Entity Ids — A JSON array of entity IDs to delete listings for. If omitted, defaults to all account events with a subscription. Example: ["entity123","entity456","entity789"]
- Publisher Ids — A JSON array of publisher IDs to restrict the deletion to specific publishers. If omitted, defaults to all publishers subscribed by the account. Example: ["FACEBOOKEVENTS","EVENTBRITE"]
- Request Options — Additional request options including batching (items per batch and batch interval in milliseconds), handling of SSL certificate validation, HTTP proxy configuration, and request timeout in milliseconds.
Output shape
a JSON object confirming deletion status for each requested entity and publisher combination
The operation supports batching to throttle deletion requests. The response details may vary depending on which entities and publishers are specified and the server response; errors are returned according to the Yext API's conventions.
Examples
Example 1: Delete listings for specified entities across all subscribed publishers
Provide a JSON array of entity IDs with no publisher IDs specified.
Example 2: Delete listings for specified entities but only for certain publishers
Provide JSON arrays for both entity IDs and publisher IDs to restrict the scope.