> ## Documentation Index
> Fetch the complete documentation index at: https://dev.docs.1to1ai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quitar etiqueta

> Quita una o varias etiquetas

<Info>
  **Endpoint** · `POST /conversation/actions`
</Info>

Quita una o varias etiquetas.

**Campos**

* `tags` — arreglo de `{ name }` (obligatorio).

```jsonc theme={null}
{
  "type": "remove_label",
  "tags": [{ "name": "VIP" }]
}
```

En una lista, este objeto va en el array `actions` de un `POST /conversation/actions` — ver [Armar una lista de acciones](/es/action-groups/overview#armar-una-lista-de-acciones).

## Ejemplo ejecutable

Un `remove_label` sobre una conversación identificada por teléfono y canal. Cada
acción quita de 1 a 20 etiquetas, identificadas por `name`.

### Request

<CodeGroup>
  ```bash Una etiqueta theme={null}
  curl -X POST "https://app.1to1.ai/api/v1/public/{slug}/conversation/actions" \
    -H "Authorization: Bearer sk_1to1_tu_api_key" \
    -H "Content-Type: application/json" \
    -d '{
      "conversation": {
        "phone": "+5215512345678",
        "channel": "ch_7A9K2M4Q"
      },
      "actions": [
        {
          "type": "remove_label",
          "tags": [{ "name": "VIP" }]
        }
      ]
    }'
  ```

  ```bash Varias etiquetas theme={null}
  curl -X POST "https://app.1to1.ai/api/v1/public/{slug}/conversation/actions" \
    -H "Authorization: Bearer sk_1to1_tu_api_key" \
    -H "Content-Type: application/json" \
    -d '{
      "conversation": {
        "phone": "+5215512345678",
        "channel": "ch_7A9K2M4Q"
      },
      "actions": [
        {
          "type": "remove_label",
          "tags": [
            { "name": "VIP" },
            { "name": "Prioritario" }
          ]
        }
      ]
    }'
  ```
</CodeGroup>

### Respuesta

`202 Accepted` — el grupo se aceptó y corre en **background**. El resultado real
por acción no viaja en la respuesta (se consulta después — ver [Cómo se ejecuta](/es/action-groups/overview#cómo-se-ejecuta)).

```json theme={null}
{
  "status": "processing",
  "actions_accepted": 1
}
```

<ResponseField name="status" type="string">
  Siempre `processing`: confirma que el grupo fue aceptado y está en ejecución.
</ResponseField>

<ResponseField name="actions_accepted" type="integer">
  Cuántas acciones del array se **admitieron** para ejecución — no cuántas
  tuvieron éxito.
</ResponseField>
