---
title: "Update project resource"
method: PUT
path: "/datadeposits/{projectId}/resources/{resourceId}"
tags: ["Data deposit", "Project resources"]
---

# Update project resource

`PUT /datadeposits/{projectId}/resources/{resourceId}`

Update resource description.

## Path parameters

- `projectId` integer, required
- `resourceId` string, required

## Request body

- Resource
  - `id` integer
  - `pid` integer — Project ID
  - `resource_type` 'microdata' | 'questionnaire' | 'report' | 'table' | 'other'
  - `title` string
  - `description` string
  - `filename` string
  - `created` string, date-time
  - `changed` string, date-time

## Response `200`

successful operation

- Resource
  - `id` integer
  - `pid` integer — Project ID
  - `resource_type` 'microdata' | 'questionnaire' | 'report' | 'table' | 'other'
  - `title` string
  - `description` string
  - `filename` 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)
