Podio API Documentation
Files: Replace file
Marks the current file as an replacement for the old file. Only files with type of "attachment" can be replaced.
Usage
- PHP Client
-
PodioFile.php
PodioFile::replace( $file_id, $attributes = array() );
- Ruby Gem
-
file_attachment.rb
Podio::FileAttachment.replace( old_file_id, new_file_id )
Parameters
- file_id*
- Required.
Request
{
"old_file_id": The id of the old file that should be replacd with the new file
}
Response