---
title: "AutomationRule deactivate"
method: POST
path: "/api/v1/automations/{id}/deactivate"
tags: ["automations"]
---

# AutomationRule deactivate

`POST /api/v1/automations/{id}/deactivate`

## Request

- Base URL: `https://www.foxnfe.com.br`
- URL: `https://www.foxnfe.com.br/api/v1/automations/{id}/deactivate`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Response `200`

Resposta implementada pelo controlador.

- object
  - `data` object
    - `id` integer
    - `name` unknown
    - `version` integer
    - `trigger_event` unknown
    - `conditions` unknown
    - `actions` union[]
      - union
        - object
          - `has_secret` boolean
        - unknown[]
          - unknown
    - `active` boolean
    - `created_by` unknown
    - `last_run_at` string, date-time, nullable
    - `last_status` unknown
    - `last_message` unknown
    - `created_at` string, date-time, nullable

---

[API](https://skmtc.dev/foxnfe/apis/fox-nf-e-api.md) · [All operations](https://skmtc.dev/foxnfe/apis/fox-nf-e-api/llms.txt) · [OpenAPI document](https://skmtc.dev/foxnfe/apis/fox-nf-e-api/revisions/8820a6e016b0?raw)
