---
title: "Toggle Proxy Key Status"
method: POST
path: "/auth/proxy/toggle"
---

# Toggle Proxy Key Status

`POST /auth/proxy/toggle`

Enable or disable a proxy key. Replaces the legacy `POST /auth/proxy/toggle/{proxy_key}`; the proxy key identifier is sent in the request body so the URL is static.

## Request body

- ProxyKeyLookupRequest
  - `proxy_key` string, required — The proxy key to look up / toggle / delete (must be one you own)

## Response `200`

Proxy key status updated

- object
  - `message` string
  - `status` boolean — New status of the proxy key

## Other responses

- `401` — Missing, invalid, or non-API-key Authorization header
- `403` — Proxy key is owned by a different account
- `404` — Proxy key not found

---

[API](https://skmtc.dev/electronhub/apis/electron-hub-api.md) · [All operations](https://skmtc.dev/electronhub/apis/electron-hub-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/electronhub/electron-hub-api/revisions/727f9c51555b/schema)
