Function useAccessCode

  • Parameters

    • params: {
          access_code_id?: string;
          code?: string;
          device_id?: string;
      }
      • Optionalaccess_code_id?: string

        ID of the access code that you want to get. You must specify either access_code_id or both device_id and code.

      • Optionalcode?: string

        Code of the access code that you want to get. You must specify either access_code_id or both device_id and code.

      • Optionaldevice_id?: string

        ID of the device containing the access code that you want to get. You must specify either access_code_id or both device_id and code.

    Returns UseSeamQueryResultLegacy<"accessCode", UseAccessCodeData>