This operation updates a DataWorks workspace.
Operation description
This feature requires DataWorks Basic Edition or a later version.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:UpdateProject |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
The ID of the DataWorks workspace. To find the workspace ID, log in to the DataWorks console and go to the Workspace Management page. This parameter specifies the DataWorks workspace to use for the API call. |
123456 |
| Description |
string |
No |
An optional description of the workspace. |
Financial analysis group project data development |
| Status |
string |
No |
Specifies whether to enable or disable the workspace. Valid values:
|
Forbidden |
| DevEnvironmentEnabled |
boolean |
No |
Specifies whether to enable the development environment. Valid values:
Important: You cannot disable the development environment after you enable it. |
true |
| DevRoleDisabled |
boolean |
No |
Specifies whether to disable the development role, which grants permissions for workflow and code editing. Valid values:
Important: After you enable the development role (by setting this parameter to |
true |
| DisplayName |
string |
No |
The display name of the workspace. |
Sora financial analysis Space |
| PaiTaskEnabled |
boolean |
No |
Specifies whether to enable task scheduling for Machine Learning Platform for AI (PAI). Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The Request ID. Use this ID to troubleshoot issues. |
AFBB799F-8578-51C5-A766-E922EDB8XXXX |
Examples
Success response
JSON format
{
"RequestId": "AFBB799F-8578-51C5-A766-E922EDB8XXXX\n"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.