cURL
curl --request POST \ --url https://example.com/v1/api/data/v1/data-files/copy/{sourceDataFileId}/revisions/current/{targetDataFileId} \ --header 'X-DOMO-Developer-Token: <api-key>'
{ "revisionId": 123 }
Copies the current revision of a source file to replace a target file.
Domo Developer Token for authentication (Assumed based on similar APIs).
Returns the new revision id for the target file.