Pular para o conteúdo principal
DELETE
/
api
/
v1
/
search
/
text-store
/
stores
/
{store_name}
/
texts
Python (SDK)
from mka1 import SDK


with SDK(
    bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:

    res = sdk.search.text_store.delete_texts(store_name="<value>", texts=[
        "USB-C charging cable with braided nylon sleeve",
    ], groups=[
        "electronics_q1_2026",
    ])

    # Handle response
    print(res)
{
  "deleted_count": 2,
  "message": "Successfully deleted 2 texts"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mka1.com/llms.txt

Use this file to discover all available pages before exploring further.

Autorizações

Authorization
string
header
obrigatório

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Cabeçalhos

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Parâmetros de caminho

store_name
string
obrigatório

Corpo

application/json

Pedido para excluir textos de uma loja.

texts
string[] | null

Textos específicos para excluir (opcional, máx. 1000)

Maximum array length: 1000
groups
string[] | null

Excluir todos os textos com esses identificadores de grupo (opcional, máximo 1000)

Maximum array length: 1000

Resposta

Resposta Bem-Sucedida

Resposta após a exclusão de textos.

deleted_count
integer
obrigatório

Número de textos deletados

message
string
obrigatório

Mensagem de status da operação