---
title: "Update Protein"
method: POST
path: "/worker/update_protein/{slug}"
tags: ["worker"]
---

# Update Protein

`POST /worker/update_protein/{slug}`

## Path parameters

- `slug` string, required

## Request body

- PDBInput — A PDB formatted file.
  - `description` PDBDescription, required — A description of the molecule.
    - `code` string, nullable
    - `title` string, nullable
    - `authors` string[]
    - `classification` string, nullable
    - `deposition_date` string, nullable
    - `keywords` string[]
  - `experiment` PDBExperiment, required — Details of the experiment.
    - `expression_system` string, nullable
    - `missing_residues` PDBMissingResidue[]
      - `name` string, required
      - `id` string, required
    - `source_organism` string, nullable
    - `technique` string, nullable
  - `geometry` PDBGeometryInput, required — Details of the geometry.
    - `assemblies` PDBAssembly[]
      - `transformations` PDBTransformations[], required
        - `chains` string[], required
        - `matrix` unknown[], required
          - unknown
        - `vector` unknown[], required
          - unknown
      - `software` string, nullable
      - `buried_surface_area` number, nullable
      - `surface_area` number, nullable
      - `delta_energy` number, nullable
      - `id` integer, required
    - `crystallography` PDBCrystallography — Crystallography related information.
      - `space_group` string, nullable
      - `unit_cell` number[], nullable
  - `models` PDBModelInput[]
    - `polymer` object
    - `non_polymer` object
    - `branched` object
    - `water` object
    - `connections` array[]
      - integer[]
  - `quality` PDBQuality — Quality metrics.
    - `resolution` number, nullable
    - `rfree` number, nullable
    - `rvalue` number, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/rowansci/apis/eyrie.md) · [All operations](https://skmtc.dev/rowansci/apis/eyrie/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rowansci/eyrie/revisions/f786577eede6/schema)
