---
title: "Turn Off Edge Rule"
method: POST
path: "/sites/{site_id}/edge_rules/{id}/disable"
tags: ["sites"]
---

# Turn Off Edge Rule

`POST /sites/{site_id}/edge_rules/{id}/disable`

## Request

- Base URL: `https://my.pressable.com/v1`
- URL: `https://my.pressable.com/v1/sites/{site_id}/edge_rules/{id}/disable`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/docs/sites/:site_id/edge_rules/:id/disable/post.ts> (a function with typed inputs; its response is checked against the schema)

Turn a rule off, keeping it on the site to turn on again.

## Path parameters

- `site_id` integer, required
- `id` integer, required

## Response `200`

Successful Response

- object
  - `message` string
  - `code` string

---

[API](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1.md) - [All operations](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/revisions/267a95219f47?raw)
