# Deletar Categoria

## Deletar categoria fixa consumidor

<mark style="color:green;">`POST`</mark> `https://api.fidelimax.com.br/api/Integracao/DeletarCategoriaConsumidor`

Lembrando que, se o consumidor tiver saldo para pertencer a uma categoria superior da atualiza, na próxima pontuação, ele entrará automáticamente na nova categoria.

#### Headers

| Name                                           | Type   | Description                                                                                                    |
| ---------------------------------------------- | ------ | -------------------------------------------------------------------------------------------------------------- |
| Content-Type<mark style="color:red;">\*</mark> | string | application/json                                                                                               |
| AuthToken<mark style="color:red;">\*</mark>    | string | Token de integração que esta na sua plataforma de controle em Integrações > API da Fidelimax > Quero Integrar. |

#### Request Body

| Name     | Type   | Description                                                                                              |
| -------- | ------ | -------------------------------------------------------------------------------------------------------- |
| cpf      | string | CPF do Consumidor. Campo obrigatório se os demais campos não forem enviados                              |
| telefone | string | Telefone do Consumidor, formato (11)99999-9999. Campo obrigatório se os demais campos não forem enviados |

{% tabs %}
{% tab title="200: OK CodigoResposta 100 = OK, CodigoResposta 125 = Categoria inexistente, CodigoResposta 103 = Consumidor Inexistente" %}

```javascript
{
    "CodigoResposta":100,
    "MensagemErro":""
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fidelimax.com.br/categorias-fixas/deletar-categoria.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
