Skip to main content

saveDefaultFolder

StudioDefaultPageSettingsWrapper saveDefaultFolder(DefaultProductRequestDto)

PUT /api/2.0/settings/defaultfolder

Set the default folder

Sets which folder the current user's account opens into by default, such as My Documents, the rooms list, or favorites. Requires an authenticated session; every role may set its own default, and the change never affects any other user. Only folder types the client actually offers as a landing page are accepted; picking My Documents (USER) as a Guest is rejected too, since guests have no personal storage. This is a mutating, idempotent call. It returns the saved setting.

Parameters​

NameInTypeDescriptionNotes
DefaultProductRequestDtobodyDefaultProductRequestDto[optional]

Responses​

Status codeDescriptionTypeResponse headers
200Saved default folder setting for the current userStudioDefaultPageSettingsWrapperX-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
400The request body cannot be read or has no defaultFolderType, the folder is not one a start page can be set to, or a guest chooses My documents--
401UnauthorizedErrorApiResponse-
429Too Many Requests.ErrorApiResponseRetry-After
500Internal Server Error.ErrorApiResponse-
502Bad Gateway. Returned by the reverse proxy, response body may be HTML and not JSON.--
503Service Unavailable. Returned by the reverse proxy, response body may be HTML and not JSON.--

Return type​

StudioDefaultPageSettingsWrapper

Authorization​

Basic, OAuth2 (scopes: read, write), ApiKeyBearer, asc_auth_key, Bearer, OpenId

HTTP request headers​

  • Content-Type: application/json
  • Accept: application/json