Delete ranking keywords

delete /text/Keywords/Optimization/RankingKeywords

This endpoint allows the removal of specified keywords from the ranking pipeline. It can be used to manage and clean up unnecessary or outdated keywords associated with specific records.

Requirements

Authentication Required
Bearer access_token
Request Headers
Authorization: Bearer access_token
Parameter Name Type Description
keywords array [string], required

List of keywords to be removed from the ranking pipeline.

storeId string, optional The store identifier. Defaults to "default" if not provided.
type string, required Specifies the type of entity, which can be either  Product or Category.
recordId string, required The ID of the record for which the keyword is updated.
languageCode string, optional Two-letter language code (default: en).

Example API Request

//https://api-eu.writetext.ai/text/Keywords/Optimization/RankingKeywords?storeId=default&type=Product&recordId=exampleRecordId&languageCode=en&keywords=keyword1&keywords=keyword2

Response

200
400
404
500
//The request was successful, and the specified keywords were removed from the ranking pipeline.
//This error occurs when the request is improperly formatted, or required parameters are missing.
//This error occurs if the provided recordId, storeId, or keyword does not exist or cannot be found.
//The server encountered an error when processing the request.