---
title: "Update"
method: PUT
path: "/api/cp/setup/button/{id}"
tags: ["Setup Button"]
---

# Update

`PUT /api/cp/setup/button/{id}`

Update an existing Setup Button record by ID.

## Path parameters

- `id` integer, required

## Request body

- SetupButtonInput
  - `id` integer — Id
  - `account_id` integer — Account Id
  - `company_id` integer — Company Id
  - `app_id` string — App Id
  - `anvil_path` string — Anvil Path
  - `label` string — Label
  - `icon` string — Icon
  - `tooltip` string — Tooltip
  - `type` string — Type
  - `area` string — Area
  - `placement` string — Placement
  - `min_select` integer — Min Select
  - `max_select` integer — Max Select
  - `sandbox_id` integer — Sandbox Id
  - `fn` string — Fn
  - `form_id` integer — Form Id
  - `page_id` string — Page Id
  - `sort_order` integer — Sort Order
  - `company_ids` string — Company Ids
  - `open_mode` 'page' | 'dialog' — Open Mode

## Response `200`

Operation completed successfully

- SuccessResponse
  - `status` string — Operation status

## Other responses

- `400` — Bad Request - Invalid parameters or request body
- `401` — Authentication information is missing or invalid
- `403` — Access denied - insufficient permissions or dependency access failure
- `404` — Resource not found
- `409` — Conflict - foreign key or unique constraint violation on write
- `500` — Internal server error

---

[API](https://skmtc.dev/connexcs/apis/connexcs-control-panel-api.md) · [All operations](https://skmtc.dev/connexcs/apis/connexcs-control-panel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/connexcs/connexcs-control-panel-api/revisions/54bc2ed6edae/schema)
