fieldnotesai
    Preparing search index...
    • Approve or decline a consent revocation request.

      On approval:

      • Sets cases.consent_granted = false
      • Soft-trashes all active recordings for the case
      • Notifies the practitioner of the approval

      On decline:

      • Notifies the practitioner of the decline

      Parameters

      • requestId: string

        The consent revocation request UUID.

      • decision: "approved" | "declined"

        "approved" or "declined".

      • reviewedBy: string

        The admin's user ID.

      • OptionaldecisionNote: string

        Optional reviewer note.

      Returns Promise<{ error?: string; success: boolean }>