Create App Users
Search
client.Search.NewAppUsers(ctx, body) (*ExpandedarrayListarrayNextPageTokenstringSearchNewAppUsersResponse, error)
post/api/v1/search/app_users
Search app users based on filters specified in the request body.
Parameters
bodyAppIDfieldAppUserDomainsfieldAppUserIDsfieldAppUserStatusDetailsfieldAppUserStatusesfieldAppUserTypesfieldExcludeAppUserIDsfieldExpandMaskfieldPageSizefieldPageTokenfieldQueryfieldRefsfieldUserIDsfieldSearchNewAppUsersParams
Returns
SearchNewAppUsersResponsestruct
The AppUserServiceSearchResponse message.
Request example Go
package main
import (
"context"
"fmt"
"github.com/stainless-sdks/-go"
"github.com/stainless-sdks/-go/option"
)
func main() {
client := conductoronesdk.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.Search.NewAppUsers(context.TODO(), conductoronesdk.SearchNewAppUsersParams{
})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.Expanded)
}
200 Example
{
"expanded": [
{
"@type": "@type"
}
],
"list": [
{
"appPath": "appPath",
"appUser": {
"appUserType": "APP_USER_TYPE_UNSPECIFIED",
"status": {}
},
"identityUserPath": "identityUserPath",
"lastUsagePath": "lastUsagePath"
}
],
"nextPageToken": "nextPageToken"
}