Actions43
- Comment Actions
- Component and Style Actions
- Dev Resource Actions
- Figma File Actions
- Library Analytic Actions
- Project Actions
- User Actions
- Variable Actions
- Version History Actions
- Webhook V2 Actions
Dev Resource → Delete Dev Resources
AI-generatedSummary
Delete a specific development resource from a Figma file by providing the file key and the development resource ID.
Inputs
- File Key (required) — The unique identifier for the Figma file containing the dev resource to delete.
- Dev Resource ID (required) — The unique identifier of the development resource to be deleted from the specified file.
- Query Parameters — Optional additional query parameters to include in the delete request as key-value pairs.
Output shape
The API response to the delete request, which may be an empty success confirmation or a JSON object.
The output depends on the Figma API's response; typically, a successful deletion may yield a 204 No Content status or a JSON response. Errors are thrown in case of failure.
Examples
Example 1: Delete a dev resource with known IDs
Set 'File Key' to the target file's key, set 'Dev Resource ID' to the resource's ID, and leave optional query parameters empty or as needed.