GetWorkspace
Retrieves a workspace.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:GetWorkspace |
get |
*Workspace
|
None | None |
Request syntax
GET /workspace/{workspaceName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspaceName |
string |
Yes |
The instance ID. |
workspace-test-001 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| createTime |
string |
The time when the workspace was created. |
2025-03-11T08:21:58Z |
| description |
string |
The description of the workspace. |
workspace test |
| lastModifyTime |
string |
The time when the workspace was last modified. |
2025-03-11T08:21:58Z |
| regionId |
string |
The region ID. |
cn-heyuan |
| requestId |
string |
The request ID. |
264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC |
| slsProject |
string |
The name of the Simple Log Service project. |
sls-project-test-001 |
| workspaceName |
string |
The name of the workspace. |
workspace-test-001 |
| displayName |
string |
The display name of the workspace. |
workspace-test |
Examples
Success response
JSON format
{
"createTime": "2025-03-11T08:21:58Z",
"description": "workspace test",
"lastModifyTime": "2025-03-11T08:21:58Z",
"regionId": "cn-heyuan",
"requestId": "264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC",
"slsProject": "sls-project-test-001",
"workspaceName": "workspace-test-001",
"displayName": "workspace-test"
}
Error codes
See for a complete list.
Release notes
See Release Notes for a complete list.