Constructors
constructor
- new Organizations(api: Api): Organizations
Properties
api
Methods
addToOrganization
- addToOrganization(
organization: string,
uids: string[],
type?: MembersType,
): Promise<ApiResponse<unknown, unknown>> Parameters
- organization: string
- uids: string[]
- type: MembersType = 'users'
Returns Promise<ApiResponse<unknown, unknown>>
addToSecurityGroup
- addToSecurityGroup(
securityGroup: string,
uids: string[],
): Promise<ApiResponse<unknown, unknown>> Parameters
- securityGroup: string
- uids: string[]
Returns Promise<ApiResponse<unknown, unknown>>
change
- change(id: string): Promise<ApiResponse<unknown, unknown>>
Returns Promise<ApiResponse<unknown, unknown>>
getOrganizationMembers
- getOrganizationMembers(organizationId: string): Promise<User[]>
Returns Promise<User[]>