Get all spaces
Server:
https://{kibana_url}
- GET /api/spaces/space
Retrieve all available Kibana spaces. The list includes only the spaces that the user is authorized to access.
Query Parameters
-
purpose Specifies which authorization checks are applied to the API call. The default value is
any.-
Values:
anycopySavedObjectsIntoSpaceshareSavedObjectsIntoSpace When enabled, the API returns any spaces the user is authorized to access in any capacity, each including the purposes for which the user is authorized. This is useful for identifying spaces the user can read but is not authorized for a given purpose. Without the security plugin, this parameter has no effect, because no authorization checks are performed. This parameter cannot be used together with the
purposeparameter.
Response
200
application/json
Indicates a successful call.