---
title: "Admin Update Node Version Status"
method: PUT
path: "/admin/nodes/{nodeId}/versions/{versionNumber}"
tags: ["Versions"]
---

# Admin Update Node Version Status

`PUT /admin/nodes/{nodeId}/versions/{versionNumber}`

Only admins can approve a node version.

## Path parameters

- `nodeId` string, required
- `versionNumber` string, required

## Request body

- object
  - `status` 'NodeVersionStatusActive' | 'NodeVersionStatusDeleted' | 'NodeVersionStatusBanned' | 'NodeVersionStatusPending' | 'NodeVersionStatusFlagged'
  - `status_reason` string — The reason for the status change.

## Response `200`

Version updated successfully

- NodeVersion
  - `id` string
  - `version` string — The version identifier, following semantic versioning. Must be unique for the node.
  - `createdAt` string, date-time — The date and time the version was created.
  - `changelog` string — Summary of changes made in this version
  - `dependencies` string[] — A list of pip dependencies required by the node.
  - `downloadUrl` string — [Output Only] URL to download this version of the node
  - `deprecated` boolean — Indicates if this version is deprecated.
  - `status` 'NodeVersionStatusActive' | 'NodeVersionStatusDeleted' | 'NodeVersionStatusBanned' | 'NodeVersionStatusPending' | 'NodeVersionStatusFlagged'
  - `status_reason` string — The reason for the status change.
  - `node_id` string — The unique identifier of the node.

## Other responses

- `400` — Bad request, invalid input data.
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Version not found
- `500` — Internal server error

---

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