an object with query parameters
Optionalaction?: stringAction on space. Supports only "?action=publish".
Optionallimit?: numberMaximum number of spaces to return.
Optionalname?: stringSpace name to search and filter for. Case-insensitive open search with wildcards both as prefix and suffix. For example, "?name=fin" will get "finance", "Final" and "Griffin".
Optionalnext?: stringThe next page cursor. Next links make use of this.
OptionalownerId?: stringSpace ownerId to filter by. For example, "?ownerId=123".
Optionalprev?: stringThe previous page cursor. Previous links make use of this.
Optionalsort?: stringField to sort by. Prefix with +/- to indicate asc/desc. For example, "?sort=+name" to sort ascending on Name. Supported fields are "type", "name" and "createdAt".
Optionaltype?: stringType(s) of space to filter. For example, "?type=managed,shared".
Optionaloptions: ApiCallOptions
Retrieves spaces that the current user has access to and match the query.