setAccess

Function

Sets eligible Survey items to the provided access

Sets eligible Survey items to the provided access

  • setAccess(formId: string, access: "private" | "public" | "org", requestOptions: IRequestOptions) : Promise<any[]>

Parameters

Parameter Type Default Notes
formId Required string

A Form ID

access Required "private" | "public" | "org"

The desired access

requestOptions Required IRequestOptions

Available requestOptions

Property Type Notes

Returns

Promise<any[]>

Function defined in packages/surveys/src/sharing/set-access.ts:21