REST API Reference > Data Integration REST API > fileRecord
  

fileRecord

Use this resource to delete a Visio template XML file or image file from the organization.
As of the July 2024 release, new Visio templates are not supported. You can't create new Visio templates or create or edit mapping tasks based on Visio templates. However, you can still update your existing Visio templates and run mapping tasks based on Visio templates.

DELETE Request

You can delete a Visio template XML or image file if the Visio template is not used by a Visio template.
To delete a file, use the file ID in the following URI:
/api/v2/fileRecord/<id>

DELETE Response

Returns the 200 response code if the request is successful.
Returns the error object if errors occur.