PUT api/2.0/project/settings This function requires authentication

Description

Updates the project settings with the parameters specified in the request.

Parameters
Name Description Type Example
everebodyCanCreate
sent in body
Specifies if all the portal users can create projects or not
optional
Bool value true
hideEntitiesInPausedProjects
sent in body
Specifies if the entities will be hidden in the paused projects or not
optional
Bool value true
startModule
sent in body
Module type: Projects, Tasks, Discussions, TimeTracking
optional
Projects, Tasks, Discussions, TimeTracking
folderId
sent in body
Folder ID System.Object
Example
PUT api/2.0/project/settings
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "everebodyCanCreate": true,
  "hideEntitiesInPausedProjects": true,
  "startModule": "Projects",
  "folderId": null
}
Returns

Updated project settings

Example Response

application/json

{
  "status": 0,
  "response": {
    "EverebodyCanCreate": true,
    "HideEntitiesInPausedProjects": true,
    "StartModuleType": 1,
    "folderId": null
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <EverebodyCanCreate>True</EverebodyCanCreate>
    <HideEntitiesInPausedProjects>True</HideEntitiesInPausedProjects>
    <StartModuleType>1</StartModuleType>
    <folderId />
  </response>
</result>