getMySpaces
Agent Runtimes / api/spacer/users / getMySpaces
Function: getMySpaces()
getMySpaces(
token,baseUrl?):Promise<SpacesForUserResponse>
Defined in: src/api/spacer/users.ts:29
Get all spaces for the current authenticated user.
Parameters
token
string
Authentication token
baseUrl?
string = DEFAULT_SERVICE_URLS.SPACER
Base URL for the API (defaults to production Spacer URL)
Returns
Promise<SpacesForUserResponse>
Promise resolving to the user's spaces
Throws
If authentication token is missing or invalid