---
title: "Delete dev resource"
method: DELETE
path: "/v1/files/{file_key}/dev_resources/{dev_resource_id}"
tags: ["Dev Resources"]
---

# Delete dev resource

`DELETE /v1/files/{file_key}/dev_resources/{dev_resource_id}`

Delete a dev resource from a file

## Path parameters

- `file_key` string, required
- `dev_resource_id` string, required

## Response `200`

Response from the DELETE /v1/files/{file_key}/dev_resources/{dev_resource_id} endpoint.

## Other responses

- `401` — Token is missing or incorrect.
- `403` — The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource, or may need an account of some sort.
- `404` — The requested file or resource was not found.
- `429` — In some cases API requests may be throttled or rate limited. Please wait a while before attempting the request again (typically a minute).
- `500` — An internal server error occurred.

## Changes

> 36 revisions in range; 33 could not be searched.

- **2023-12-14** `de5c0106668d` — 1 info
  - the endpoint scheme security `PlanAccessToken` was removed from the API

[Change history](https://skmtc.dev/figma/apis/figma-api/changes/v1/files/:file_key/dev_resources/:dev_resource_id/delete.md)

---

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