v1
latestOpenAPI 3.0.02026-07-14169306521.0 KBSearch all customers for a given team context.
Search for customers within a team using flexible query parameters, including name, type, channel, and status. Supports pagination, sorting, and filtering by customer attributes.
Required RBAC Policy: kots/app/[:appid]/license/[:licenseid]/read
Request body
The app id to limit search. If not provided, customers for all apps will be searched.
Restrict search to customers in the specified channels.
When set to true, active customers will be included in the search results. Default is false.
When set to true, archived customers will be included in the search results. Default is false.
When set to true, community customers will be included in the search results. Default is false.
When set to true, dev customers will be included in the search results. Default is false.
When set to true, inactive customers will be included in the search results. Default is false.
When set to true, paid customers will be included in the search results. Default is false.
When set to true, test customers will be included in the search results. Default is false.
When set to true, trial customers will be included in the search results. Default is false.
When set to true, more detailed information for active and inactive customer instances will be provided in the search results. If false, active and inactive instances will be combined into a single list. Default is false.
Search by license ID or Enterprise Portal service account token. When provided, this will find the specific customer associated with the license ID or service account token. This field accepts both actual license IDs and Enterprise Portal service account tokens as license substitutes.
The maximum number of instances to return for each customer. Default is 3.
The number of pages to skip.
The number of customers to return per page.
The search query. By default this value will be used to search customers by name. When value is in the key:value format, it can be used to search specific fields. The following fields are supported. name: search by customer name. For example name:acme. This search is fuzzy and case insensitive. type: search by customer type. Possible values are prod, trial, dev, and community. For example type:trial. airgap: search by airgap status. Possible values are true and false. For example airgap:true. channels.name: search by channel name. For example channels.name:stable. This search is fuzzy and case insensitive. customId: search by custom id. For example customId:123. This is an exact match search. email: search by customer email. For example email:bob@replicated.com. This is an exact match search.
The sort direction. Possible values are asc and desc. Default is desc if sort_field is specified.
The field to sort by. Possible values are expiresAt, createdAt, name, type. There is no default value.
Response
SearchTeamCustomersResponse contains the list of licenses