provider Dev Resources DELETE
/v1/files/{file_key}/dev_resources/{dev_resource_id} @utdk/figma
/v1/files/{file_key}/dev_resources/{dev_resource_id} Delete dev resource
Delete a dev resource from a file
- file_key path required
- The file to delete the dev resource from. This must be a main file key, not a branch key.
- string
- dev_resource_id path required
- The id of the dev resource to delete.
- string
Try it
Authentication
Configure credentials for Figma API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import figma from '@utdk/figma';
await figma.deletedevresource()