---
title: "切换配置状态（启用/禁用）"
method: POST
path: "/api/v1/config/sync-schedule/toggle-status"
tags: ["Config配置中心"]
---

# 切换配置状态（启用/禁用）

`POST /api/v1/config/sync-schedule/toggle-status`

## Request body

- object
  - `id` integer
  - `status` integer

## Response `200`

OK

---

[API](https://skmtc.net/opsre/apis/devops.md) · [All operations](https://skmtc.net/opsre/apis/devops/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opsre/devops/versions/25cac8835c4c/schema)
