Update a Workspace
put
/api/restapi/workspace
Send a request to this endpoint to update a workspace.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : ApiEntityWorkspaceInput
Type:
objectTitle:
ApiEntityWorkspaceInputThis entity represents a Workspace object, a unique Workspace object can be identified by the following combinations of the fields.
Show Source
- workspaceId
- workspaceCode,parentId
- workspaceCode,parentWorkspaceCode
-
description: string
Maximum Length:
4000Summary of the workspace. -
parentId(required): integer
(int64)
The unique identifier of the workspace hierarchically above another workspace.
-
parentWorkspaceCode: string
Minimum Length:
0Maximum Length:60The parent workspace code of a workspace. -
workspaceCode(required): string
Minimum Length:
0Maximum Length:60The user-specified identifier of a workspace. -
workspaceCurrencySetting:
workspaceCurrencySetting
Entity to create or update default currency and view the parent workspace currencies.
-
workspaceId: integer
(int64)
The unique identifier of a workspace.
-
workspaceName(required): string
Minimum Length:
1Maximum Length:255Name of a workspace. -
workspaceSettings: array
workspaceSettings
An object containing workspace settings.
Nested Schema : workspaceCurrencySetting
Entity to create or update default currency and view the parent workspace currencies.
Match All
Entity to create or update default currency and view the parent workspace currencies.
Show Source
-
object
ApiEntityWorkspaceCurrencySettingInput
Title:
ApiEntityWorkspaceCurrencySettingInputThis entity represents a WorkspaceCurrencySetting object, a unique WorkspaceCurrencySetting object can be identified by the following combinations of the fields.- workspaceId
Nested Schema : workspaceSettings
Type:
arrayAn object containing workspace settings.
Show Source
-
Array of:
object ApiEntityWorkspaceSettingInput
Title:
ApiEntityWorkspaceSettingInput
Nested Schema : ApiEntityWorkspaceCurrencySettingInput
Type:
objectTitle:
ApiEntityWorkspaceCurrencySettingInputThis entity represents a WorkspaceCurrencySetting object, a unique WorkspaceCurrencySetting object can be identified by the following combinations of the fields.
Show Source
- workspaceId
-
defaultCurrencyId: integer
(int64)
The workspace default currency that is selected on the workspace.
Nested Schema : ApiEntityWorkspaceSettingInput
Type:
objectTitle:
Show Source
ApiEntityWorkspaceSettingInput-
settingName: string
Minimum Length:
0Maximum Length:255Name of a workspace setting. -
settingValue: string
Minimum Length:
0Maximum Length:255Value of a workspace setting. -
workspaceSettingId: integer
(int64)
The unique identifier of a workspace setting.
Examples
Back to Top
Response
204 Response
Successful operation with no content.
400 Response
Invalid input.