- Kibana Guide: other versions:
- Introduction
- Get started
- Set Up Kibana
- Discover
- Visualize
- Creating a Visualization
- Saving Visualizations
- Using rolled up data in a visualization
- Line, Area, and Bar charts
- Controls Visualization
- Data Table
- Markdown Widget
- Metric
- Goal and Gauge
- Pie Charts
- Coordinate Maps
- Region Maps
- Timelion
- TSVB
- Tag Clouds
- Heatmap Chart
- Vega Graphs
- Inspecting Visualizations
- Dashboard
- Canvas
- Graph data connections
- Machine learning
- Elastic Maps
- Code
- Infrastructure
- Logs
- APM
- Uptime
- SIEM
- Dev Tools
- Stack Monitoring
- Management
- Reporting from Kibana
- REST API
- Kibana plugins
- Limitations
- Release Highlights
- Breaking Changes
- Release Notes
- Developer guide
IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Create space API
editCreate space API
editCreates a Kibana space.
The underlying Spaces concepts are stable, but the APIs for managing Spaces are experimental.
Request
editPOST /api/spaces/space
Request body
edit-
id
- (Required, string) The space ID that is part of the Kibana URL when inside the space. You are unable to change the ID with the update operation.
-
name
- (Required, string) The display name for the space.
-
description
- (Optional, string) The description for the space.
-
disabledFeatures
- (Optional, string array) The list of disabled features for the space. To get a list of available feature IDs, use the Features API.
-
initials
- (Optional, string) Specifies the initials shown in the space avatar. By default, the initials are automatically generated from the space name. Initials must be 1 or 2 characters.
-
color
- (Optional, string) Specifies the hexadecimal color code used in the space avatar. By default, the color is automatically generated from the space name.
Response codes
edit-
200
- Indicates a successful call.
Example
editPOST /api/spaces/space { "id": "marketing", "name": "Marketing", "description" : "This is the Marketing Space", "color": "#aabbcc", "initials": "MK", "disabledFeatures": ["timelion"] }
On this page
Was this helpful?
Thank you for your feedback.