Delete a dev resource
delete_dev_resourceDelete a specified dev resource from a Figma file using its ID. Resolves the file by key or URL and requires write access to remove the resource.
Instructions
DELETE /v1/files/{key}/dev_resources/{id}. Scope: file_dev_resources:write.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file": "<file>",
"id": "<id>"
},
"name": "delete_dev_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| file | Yes | Figma file key or URL (figma.com/design/... or figma.com/file/...) |