---
title: "Replace data file links (POST)"
method: POST
path: "/resources/datafile_links/{projectId}/{resourceId}"
tags: ["External resources"]
---

# Replace data file links (POST)

`POST /resources/datafile_links/{projectId}/{resourceId}`

Same as PUT; provided for clients that cannot send PUT requests

## Path parameters

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

## Request body

- object
  - `links` object[], required
    - `file_id` string, required
    - `link_type` string

## Response `200`

successful operation

---

[API](https://skmtc.net/worldbank/apis/metadata-editor-api.md) · [All operations](https://skmtc.net/worldbank/apis/metadata-editor-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/worldbank/metadata-editor-api/revisions/f4c8258bab5a/schema)
