getWebsites

suspend fun getWebsites(userId: String, includeTeams: Boolean = false, search: String? = null, page: Int? = null, pageSize: Int? = null): SearchResponse<Website>

Gets all websites that belong to a user.

Return

A SearchResponse containing a list of Website objects.

Parameters

userId

The unique identifier of the user.

includeTeams

Set to true if you want to include websites where you are the team owner.

search

Search text.

page

Determines page.

pageSize

Determines how many results to return.