Variable MultiDirectoryGroupSearchRequestSchemaConst
MultiDirectoryGroupSearchRequestSchema: ZodObject<
{
accountIds: ZodOptional<ZodArray<ZodString>>;
cursor: ZodOptional<ZodString>;
directoryIds: ZodOptional<ZodArray<ZodString>>;
expand: ZodOptional<
ZodArray<
ZodCustom<
string & {}
| "counts.resources"
| "counts.users",
string & {} | "counts.resources" | "counts.users",
>,
>,
>;
groupIds: ZodOptional<ZodArray<ZodString>>;
groupNames: ZodOptional<ZodArray<ZodString>>;
limit: ZodOptional<ZodNumber>;
resourceIds: ZodOptional<ZodArray<ZodString>>;
resourceOwners: ZodOptional<ZodArray<ZodString>>;
roleIds: ZodOptional<ZodArray<ZodString>>;
searchTerm: ZodOptional<ZodString>;
sortBy: ZodOptional<
ZodArray<
ZodObject<
{
direction: ZodCustom<
"desc"
| string & {}
| "asc",
"desc" | string & {} | "asc",
>;
field: ZodCustom<"name" | string & {}, "name" | string & {}>;
},
$loose,
>,
>,
>;
},
$loose,
> = ...
Filters for searching groups in a directory.
The request body is optional — sending an empty body returns the first page of all groups in the directory.
Use
expandto include additional count fields. Other count toggles are not exposed on this endpoint; theexpandarray is the only way to requestcounts.resourcesorcounts.users.