UpdateDefaultWorkspace
Updated at:
Sets a workspace as the default workspace.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paiworkspace:UpdateDefaultWorkspace |
update |
*All Resource
|
None | None |
Request syntax
PUT /api/v1/defaultWorkspaces HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request struct. |
|
| WorkspaceId |
string |
No |
The workspace ID. For more information about how to obtain the workspace ID, see ListWorkspaces. |
12345 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response struct. |
||
| RequestId |
string |
The request ID. |
17915******4216 |
Examples
Success response
JSON format
{
"RequestId": "17915******4216"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.
Is this page helpful?