---
title: "Update citation"
method: PUT
path: "/datadeposits/{projectId}/citations/{citationId}"
tags: ["Data deposit", "Project citations"]
---

# Update citation

`PUT /datadeposits/{projectId}/citations/{citationId}`

Update citation

## Path parameters

- `projectId` integer, required
- `citationId` string, required

## Request body

- Citation
  - `id` integer
  - `pid` integer, required — Project ID
  - `citation_type` 'book' | 'journal' | 'article' | 'website' | 'other'
  - `title` string, required
  - `subtitle` string
  - `authors` object[]
    - `fname` string
    - `lname` string
  - `volume` string
  - `issue` string
  - `idnumber` string
  - `edition` string
  - `pub_place` string
  - `publisher` string
  - `pub_medium` string
  - `url` string
  - `page_from` integer
  - `page_to` integer
  - `pub_date` string
  - `abstract` string
  - `keywords` string
  - `doi` string
  - `country` string
  - `created` string, date-time
  - `changed` string, date-time

## Response `200`

successful operation

- Citation
  - `id` integer
  - `pid` integer, required — Project ID
  - `citation_type` 'book' | 'journal' | 'article' | 'website' | 'other'
  - `title` string, required
  - `subtitle` string
  - `authors` object[]
    - `fname` string
    - `lname` string
  - `volume` string
  - `issue` string
  - `idnumber` string
  - `edition` string
  - `pub_place` string
  - `publisher` string
  - `pub_medium` string
  - `url` string
  - `page_from` integer
  - `page_to` integer
  - `pub_date` string
  - `abstract` string
  - `keywords` string
  - `doi` string
  - `country` string
  - `created` string, date-time
  - `changed` string, date-time

## Other responses

- `400` — Bad input

---

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