---
title: "Update"
method: PUT
path: "/api/cp/class5/app/{id}"
tags: ["Class 5 App"]
---

# Update

`PUT /api/cp/class5/app/{id}`

Update an existing Class 5 App record by ID.

## Path parameters

- `id` integer, required

## Request body

- Class5AppInput
  - `id` integer — Id
  - `account_id` integer — Account Id (references account.id)
  - `company_id` integer — Company Id
  - `name` string, required — Name
  - `app_type` 'connexml' | 'legacy' | 'callflow' — App Type
  - `dest` string — Dest
  - `allow` string — Allow
  - `deny` string — Deny
  - `data` string — Data
  - `pbx_server` string — Pbx Server
  - `xml` string — Xml

## 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)
