Regenerate File Ownership Token
This use case regenerates the ownershipToken of a File.
Parameters
idof the File.
On Success
- A new
ownershipTokenis generated for the File. - The ownership of the File is unlocked, meaning that it is possible to claim the ownership of the File with the new
ownershipToken. - The corresponding indicator
ownershipIsLockedis set to undefined. - The updated File is returned.
On Failure
- The parameters are malformed.
- There was no File found with the specified
id. - The use case was called by an Identity who is not the owner of the File.