Profiles
Administer workspaces across the account: create and archive workspaces and manage their membership. These operations are account-scoped and require the admin role (a token whose profile holds the WorkOS admin role); they live under /v1/account/workspaces rather than the workspace-scoped /v1/workspaces tree so an admin can manage any workspace in the account, including ones they are not themselves a member of.
Search account profiles
client.workspaceAdmin.profiles.list(ProfileListParams { cursor, limit, query } query?, RequestOptionsoptions?): CursorPagination<Profile { metadata, spec } >
GET/v1/account/profiles