- Getting started
- CREDIT ENDPOINTS
- GENERATE ENDPOINTS
- GETText generation rules and limits
- GETAvailable text generation tones
- GETText generation styles
- GETTarget audiences for text generation
- GETAvailable text types for generation
- GETText generation history
- GETStatus of generated texts
- GETGenerated text for multiple records
- GETActive generation requests
- GETDetails of a specific generation request
- POSTText generation
- POSTCancel a bulk generation request
- POSTUpdate generated text fields
- IMAGE ENDPOINTS
- KEYWORDS ENDPOINTS
- GETKeyword optimization data
- POSTOptimize keywords for text
- DELETEKeyword optimization
- PUTKeyword optimization
- GETKeyword optimization list
- PUTKeyword optimization data
- DELETERanking keywords
- PUTKeyword optimization pipelines
- GETKeyword state
- POSTKeyword pipeline
- DELETEKeyword pipeline
- POSTRestore keyword pipeline
- POSTAdd triggers to keyword pipeline
- POSTAdd triggers to a specific keyword pipeline
- POSTLock a specific keyword pipeline
- POSTUnlock a specific keyword pipeline
- GETPipeline snapshots
- PUTUpdate or create a snapshot
- POSTAdd manual keywords
- GETManual keywords
- REVIEW ENDPOINTS
- SUGGESTION ENDPOINTS
Delete keyword optimization
delete
/text/Keywords/Optimization
This endpoint allows the deletion of keyword optimization data for a specific record in the store. It is used to remove any associated optimization details for the given storeId, type, recordId, and optional languageCode.
Requirements
Authentication Required
Bearer access_token
Request Headers
Authorization: Bearer access_token
Parameter Name | Type | Description |
---|---|---|
storeId | string, required | 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 object or record ID to retrieve optimization data for. |
languageCode | string, optional | A 2-letter code indicating the language, e.g., "en" . Defaults to "en" if not provided. |
Example API Request
//https://api-eu.writetext.ai/text/Keywords/Optimization?storeId=default&type=Product&recordId=12345&languageCode=en
Response
200
404
500
//The keyword optimization data has been successfully deleted.
//This error occurs if the specified data does not exist (for example, an invalid recordId).
//The server encountered an error when processing the request.