---
title: "Reseller Apikey Toggle"
method: POST
path: "/reseller/apikeys/{apikey_id}/toggle"
tags: ["reseller"]
---

# Reseller Apikey Toggle

`POST /reseller/apikeys/{apikey_id}/toggle`

启停二级 apikey。Security: 校验 apikey 属于当前 reseller。

## Path parameters

- `apikey_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/qcode/apis/qcode-web.md) · [All operations](https://skmtc.dev/qcode/apis/qcode-web/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/qcode/qcode-web/revisions/2f2f5f49ffc7/schema)
