PUT api/2.0/files/keepnewfilename This function requires authentication

Description

Specifies whether to ask a user for a file name on creation or not.

Parameters
Name Description Type Example
Set
sent in body
Specifies whether to set the specified settings or not Bool value true
Example
PUT api/2.0/files/keepnewfilename
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Set": true
}
Returns

Boolean value: true if the parameter is enabled