spaces
Get all spaces
Retrieve all available Kibana spaces. The list includes only the spaces that the user is authorized to access.
get/api/spaces/space
Query parameters
purpose'any' | 'copySavedObjectsIntoSpace' | 'shareSavedObjectsIntoSpace'
Specifies which authorization checks are applied to the API call. The default value is any.
include_authorized_purposesboolean
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 purpose parameter.
Response
Indicates a successful call.