---
title: "POST /api/update-syncer"
method: POST
path: "/api/update-syncer"
tags: ["Syncer API"]
---

# POST /api/update-syncer

`POST /api/update-syncer`

update syncer

## Query parameters

- `id` string, required

## Request body

- ObjectSyncer
  - `affiliationTable` string
  - `avatarBaseUrl` string
  - `createdTime` string
  - `database` string
  - `databaseType` string
  - `errorText` string
  - `host` string
  - `isEnabled` boolean
  - `isReadOnly` boolean
  - `name` string
  - `organization` string
  - `owner` string
  - `password` string
  - `port` integer
  - `syncInterval` integer
  - `table` string
  - `tableColumns` ObjectTableColumn[]
    - `casdoorName` string
    - `isHashed` boolean
    - `isKey` boolean
    - `name` string
    - `type` string
    - `values` string[]
  - `type` string
  - `user` string

## Response `200`

The Response object

---

[API](https://skmtc.net/casdoor/apis/casdoor-restful-api.md) · [All operations](https://skmtc.net/casdoor/apis/casdoor-restful-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casdoor/casdoor-restful-api/versions/be9a5584b821/schema)
