cloudflare
Version:
The official TypeScript library for the Cloudflare API
48 lines • 1.75 kB
TypeScript
import { APIResource } from "../../../../resource.js";
import * as Core from "../../../../core.js";
import * as GroupsAPI from "../../access/groups.js";
import { ZeroTrustGroupsV4PagePaginationArray } from "../../access/groups.js";
import { type V4PagePaginationArrayParams } from "../../../../pagination.js";
export declare class Groups extends APIResource {
/**
* Lists SCIM Group resources synced to Cloudflare via the System for Cross-domain
* Identity Management (SCIM).
*
* @example
* ```ts
* // Automatically fetches more pages as needed.
* for await (const zeroTrustGroup of client.zeroTrust.identityProviders.scim.groups.list(
* 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
* )) {
* // ...
* }
* ```
*/
list(identityProviderId: string, params: GroupListParams, options?: Core.RequestOptions): Core.PagePromise<ZeroTrustGroupsV4PagePaginationArray, GroupsAPI.ZeroTrustGroup>;
}
export interface GroupListParams extends V4PagePaginationArrayParams {
/**
* Path param: Identifier.
*/
account_id: string;
/**
* Query param: The unique Cloudflare-generated Id of the SCIM Group resource; also
* known as the "Id".
*/
cf_resource_id?: string;
/**
* Query param: The IdP-generated Id of the SCIM Group resource; also known as the
* "external Id".
*/
idp_resource_id?: string;
/**
* Query param: The display name of the SCIM Group resource.
*/
name?: string;
}
export declare namespace Groups {
export { type GroupListParams as GroupListParams };
}
export { ZeroTrustGroupsV4PagePaginationArray };
//# sourceMappingURL=groups.d.ts.map