Creating a Data Space
Function
create dataspace
Calling Method
For details, see Calling APIs.
URI
POST /v1/{project_id}/workspaces/{workspace_id}/siem/dataspaces
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID. |
|
workspace_id |
Yes |
String |
Workspace ID |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
dataspace_name |
Yes |
String |
Data space name |
|
description |
Yes |
String |
Description. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
domain_id |
String |
Account ID. |
|
region_id |
String |
region ID |
|
project_id |
String |
Project ID. |
|
dataspace_id |
String |
Workspace ID |
|
dataspace_name |
String |
Workspace Name |
|
dataspace_type |
String |
Data space type. The value can be system-defined or user-defined. |
|
description |
String |
Description. |
|
create_by |
String |
Created By |
|
create_time |
Long |
Created |
|
update_by |
String |
Updated by |
|
update_time |
Long |
Update time. |
Example Requests
{
"dataspace_name" : "dataspace-01",
"description" : "test dataspace"
}
Example Responses
Status code: 200
Request successful.
{
"domain_id" : "0531ed520xxxxxxebedb6e57xxxxxxxx",
"region_id" : "cn-north-1",
"project_id" : "2b31ed520xxxxxxebedb6e57xxxxxxxx",
"dataspace_id" : "a00106ba-bede-453c-8488-b60c70bd6aed",
"dataspace_name" : "dataspace-01",
"dataspace_type" : "system-defined",
"description" : "test dataspace",
"create_by" : "0642ed520xxxxxxebedb6e57xxxxxxxx",
"create_time" : 1584883694354,
"update_by" : "0642ed520xxxxxxebedb6e57xxxxxxxx",
"update_time" : 1584883694354
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Request successful. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.