You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.x
GiveConsentProps
Properties for giving consent on behalf of the current user.
export interface GiveConsentProps extends BaseUserId {
consentTemplateId: string;
consentTemplateVersion: number;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
consentTemplateId | Required | string | Unique identifier of a consent template. |
consentTemplateVersion | Required | number | Current consent template version. |