Yext Knowledge API icon

Yext Knowledge API

Interact with Yext Knowledge API

Actions176

Listings → Delete Answer

AI-generated

Summary

Delete a specific Answer associated with a given Question in a Yext Knowledge API account's Listings resource.

Inputs

  • Account Id (required) — The unique identifier of the Yext account containing the listing.
  • Question Id (required) — The numeric ID of the question from which to delete the answer.
  • Answer Id (required) — The numeric ID of the answer to be deleted.
  • V (required) — The version date of the API in YYYYMMDD format, specifying the API version to use.
  • Request Options — Optional settings such as batching parameters, SSL certificate validation bypass, HTTP proxy information, and request timeout duration.

Output shape

a JSON response object confirming the deletion or error details

The response includes server confirmation of the deletion operation or error messages if the deletion fails. Supports batching for multiple deletions when configured with Request Options.

Examples

Example 1: Delete an answer with specific IDs

Set Account Id to your Yext account identifier, specify the Question Id and Answer Id to delete, provide the API version date 'V', and trigger the operation.

Discussion