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. Minimum: 32 Maximum: 36 |
workspace_id |
Yes |
String |
Workspace ID Minimum: 32 Maximum: 36 |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
dataspace_name |
Yes |
String |
Data space name Minimum: 5 Maximum: 63 |
description |
Yes |
String |
Description. Minimum: 1 Maximum: 255 |
Response Parameters
None
Example Requests
{ "dataspace_name" : "dataspace-01", "description" : "test dataspace" }
Example Responses
Status code: 200
{ "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 |
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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot