Skip to content

[Enhancement]: Add extra options for spo file copy #5340

@milanholemans

Description

@milanholemans

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
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions