We could add a new option to spo file copy:
| Option |
Description |
-i, --sourceId |
The Unique ID (GUID) of the file. Specify either sourceUrl or sourceId but not both. |
--resetAuthorAndCreated |
Use this option to clear the author and created date. When not specified, the values from the source file are used. |
API request
Use the current API request, add to the body:
"options": {
"ResetAuthorAndCreatedOnCopy": true
}
We could add a new option to
spo file copy:-i, --sourceIdsourceUrlorsourceIdbut not both.--resetAuthorAndCreatedAPI request
Use the current API request, add to the body: