> For the complete documentation index, see [llms.txt](https://docs.floui.io/guia/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.floui.io/guia/conectores/categorias/manipulacao-de-arquivos/file-remove.md).

# File Remove

Remova arquivos ou diretórios do storage associado ao seu Workspace atual.

{% tabs %}
{% tab title="Parâmetros" %}

<figure><img src="https://215079342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F226k0cnPTn1PWu9xHcK8%2Fuploads%2FOrJqkZwwb8ephQBxA8gs%2Fimage.png?alt=media&amp;token=bcbf9377-4721-4d2b-a199-9d2ca19742e6" alt="" width="370"><figcaption><p>Parâmetros de configuração</p></figcaption></figure>

| Campo                                          | Tipo           | Descrição                                                                                                                      |
| ---------------------------------------------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| Descrição                                      | String         | Elemento visual usado para descrever a funcionalidade do conector dentro do fluxo.                                             |
| Localização da arquivo ou pasta                | Campo de texto | Indica a localização da pasta dentro do storage no Workspace atual. Pode ser utilizado “/” como prefixo para caminho absoluto. |
| Deseja remover os arquivos de forma recursiva? | Campo de texto | Permite forçar a remoção de todos os arquivos ou pastas dentro do caminho pesquisado.                                          |
| Output path                                    | Campo de texto | Define o nome de um atributo que irá armazenar a saída de dados do conector dentro do objeto msg no contexto do fluxo atual.   |
| {% endtab %}                                   |                |                                                                                                                                |

{% tab title="Payload" %}

## Sucesso

Em caso de sucesso na remoção do seu arquivo ou documento, um valor booleano definido como <mark style="color:green;">**true**</mark> será indicado na carga de payload do componente.

## Erro

Caso haja um problema que impeça a exclusão do seu arquivo ou diretório, o log interno do fluxo irá lançar uma exceção contendo o nome do evento e a mensagem associada ao erro.

<div><figure><img src="https://215079342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F226k0cnPTn1PWu9xHcK8%2Fuploads%2FhonBzDSeOnCbNm8ykUIW%2Fimage.png?alt=media&amp;token=c15017b9-df99-4efb-bdda-faced4916b92" alt=""><figcaption><p>Atributo remove representando o payload do componente em caso de falhas.</p></figcaption></figure> <figure><img src="https://215079342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F226k0cnPTn1PWu9xHcK8%2Fuploads%2Fu5t4hT0Ace2LSWUeSryI%2Fimage.png?alt=media&amp;token=611b0812-5953-4d40-b9fa-ff3e81d58bf5" alt=""><figcaption><p>Saída no painel de logger para as execuções do fluxo.</p></figcaption></figure></div>
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.floui.io/guia/conectores/categorias/manipulacao-de-arquivos/file-remove.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
